EFFICIENT CONDITIONAL FLOW CONTROL COMPILATION

In general techniques are described for efficient conditional flow control (CFC) compilation. An apparatus comprising a processor executing a compiler that includes at least one translation module may perform these techniques. The translation module translates a first set of high-level (HL) CFC soft...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHANG, CHIHONG, TSAI, MINGANG
Format: Patent
Sprache:eng ; fre
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:In general techniques are described for efficient conditional flow control (CFC) compilation. An apparatus comprising a processor executing a compiler that includes at least one translation module may perform these techniques. The translation module translates a first set of high-level (HL) CFC software to a functionally equivalent but different second set of HL CFC software instructions. The compiler then compiles the first and second sets of high-level CFC software instructions to respective first and second sets of low-level (LL) CFC software instructions. An evaluation module of the compiler evaluates the first and second sets of LL CFC software instructions to determine which of the first and second sets of the low-level CFC software instructions is more efficient as measured in terms of at least one execution metric and outputs the one of the first and second low-level CFC software instructions determined to be most efficient. La présente invention concerne d'une manière générale des techniques de compilation de contrôle de flux conditionnel (CFC) efficace. Un appareil comprenant un processeur exécutant un compilateur qui comprend au moins un module de traduction peut mettre en oeuvre ces techniques. Le module de traduction traduit un premier ensemble d'instructions logicielles CFC de haut niveau (HL) en un second ensemble fonctionnellement équivalent mais différent d'instructions logicielles CFC HL. Le compilateur compile ensuite les premier et second ensembles d'instructions logicielles CFC de haut niveau en premier et second ensembles d'instructions logicielles CFC de bas niveau (LL) respectifs. Un module d'évaluation du compilateur évalue les premier et second ensembles d'instructions logicielles CFC LL pour déterminer lequel des premier et second ensembles d'instructions logicielles CFC de bas niveau est plus efficace, mesuré sur le plan d'au moins une métrique d'exécution, et délivre en sortie celles desdites première et seconde instructions logicielles CFC de bas niveau qui ont été déterminées comme étant les plus efficaces.