COMPILER AND DATA PROCESSOR

PURPOSE:To speed up a data processing by incorporating prescribed control information of hardware obtained at the time of generating an object code into the object code including the instruction code of a no-operation so as to output it. CONSTITUTION:A compiler optimizes an object program by rearran...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: KASHIWAGI YUUGO, ARAKAWA FUMIO, YOSHIOKA SHINICHI, YAJIMA HIROSHI
Format: Patent
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:PURPOSE:To speed up a data processing by incorporating prescribed control information of hardware obtained at the time of generating an object code into the object code including the instruction code of a no-operation so as to output it. CONSTITUTION:A compiler optimizes an object program by rearranging an instruction string in a code generation means 4. Appropriate instructions are inserted before and behind the delay slot of delay branch with, the speed up of a branch instruction as a target. When the appropriate instruction does not exist, an instruction NOP including the instruction code of the no-operation is inserted, for example. Namely, the position of the instruction which is to be executed immediately after the branch instruction is set to be a delay slot for reducing the disturbance of a pipeline at the time of branch, and the instruction arranged in the delay slot is executed prior to branch. When the appropriate instruction which does not become an obstacle even if it is inserted into the delay slot exists, it is inserted into the delay slot and the instruction is rearranged so as to execute optimizing.