The branch displacement problem is a well-known problem in assembler design. It revolves around the feature, present in several processor families, of having different instructions, of different sizes, for jumps of different displacements. The problem, which is provably NP-hard, is then to select the instructions such that one ends up with the smallest possible program. During our research with the CerCo project on formally verifying a C compiler, we have implemented and proven correct an algorithm for this problem. In this paper, we discuss the problem, possible solutions, our specific solutions and the proofs.

On the correctness of a branch displacement algorithm / Boender, J.; Sacerdoti Coen, C.. - STAMPA. - 8413 LNCS:(2014), pp. 605-619. (Intervento presentato al convegno 20th International Conference, TACAS 2014, Held as Part of the European Joint Conferences on Theory and Practice of Software, ETAPS 2014 tenutosi a Grenoble, France nel 5-13/04/2014) [10.1007/978-3-642-54862-8_53].

On the correctness of a branch displacement algorithm

SACERDOTI COEN, CLAUDIO
2014

Abstract

The branch displacement problem is a well-known problem in assembler design. It revolves around the feature, present in several processor families, of having different instructions, of different sizes, for jumps of different displacements. The problem, which is provably NP-hard, is then to select the instructions such that one ends up with the smallest possible program. During our research with the CerCo project on formally verifying a C compiler, we have implemented and proven correct an algorithm for this problem. In this paper, we discuss the problem, possible solutions, our specific solutions and the proofs.
2014
Tools and Algorithms for the Construction and Analysis of Systems
605
619
On the correctness of a branch displacement algorithm / Boender, J.; Sacerdoti Coen, C.. - STAMPA. - 8413 LNCS:(2014), pp. 605-619. (Intervento presentato al convegno 20th International Conference, TACAS 2014, Held as Part of the European Joint Conferences on Theory and Practice of Software, ETAPS 2014 tenutosi a Grenoble, France nel 5-13/04/2014) [10.1007/978-3-642-54862-8_53].
Boender, J.; Sacerdoti Coen, C.
File in questo prodotto:
Eventuali allegati, non sono esposti

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11585/519879
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 2
  • ???jsp.display-item.citation.isi??? ND
social impact