Improving Code Density with Variable Length Encoding Aware Instruction Scheduling
Kultala,Heikki; Viitanen,Timo; Jääskeläinen,Pekka; Helkala,Janne; Takala,Jarmo (2016-09)
09 / 2016
This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited
Julkaisun pysyvä osoite on
Variable length encoding can considerably decrease code size in VLIW processors by reducing the number of bits wasted on encoding No Operations(NOPs). A processor may have different instruction templates where different execution slots are implicitly NOPs, but all combinations of NOPs may not be supported by the instruction templates. The efficiency of the NOP encoding can be improved by the compiler trying to place NOPs in such way that the usage of implicit NOPs is maximized. Two different methods of optimizing the use of the implicit NOP slots are evaluated: (a) prioritizing function units that have fewer implicit NOPs associated with them and (b) a post-pass to the instruction scheduler which utilizes the slack of the schedule by rescheduling operations with slack into different instruction words so that the available instruction templates are better utilized. Three different methods for selecting basic blocks to apply FU priorization on are also analyzed: always, always outside inner loops, and only outside inner loops only in basic blocks after testing where it helped to decrease code size. The post-pass optimizer alone saved an average of 2.4 % and a maximum of 10.5 % instruction memory, without performance loss. Prioritizing function units in only those basic blocks where it helped gave the best case instruction memory savings of 10.7 % and average savings of 3.0 % in exchange for an average 0.3 % slowdown. Applying both of the optimizations together gave the best case code size decrease of 12.2 % and an average of 5.4 %, while performance decreased on average by 0.1 %.
- TUNICRIS-julkaisut 
Näytetään aineisto, joilla on samankaltaisia nimekkeitä, tekijöitä tai asiasanoja.
Maggioni,Matteo; Sanchez-Monge,Enrique; Foi,Alessandro (2014)
Supramolecular hierarchy among halogen and hydrogen bond donors in light-induced surface patterning Saccone,Marco; Dichiarante,Valentina; Forni,Alessandra; Goulet-Hanssens,Alexis; Cavallo,Gabriella; Vapaavuori,Jaana; Terraneo,Giancarlo; Barrett,Christopher J.; Resnati,Giuseppe; Metrangolo,Pierangelo; Priimägi,Arri (28.01.2015)
/dk/atira/pure/researchoutput/researchoutputtypes/contributiontojournal/articleHalogen bonding, a noncovalent interaction possessing several unique features compared to the more familiar hydrogen bonding, is emerging as a powerful tool in functional materials design. Herein, we unambiguously show ...
Virkki,Matti; Tuominen,Ossi; Forni,Alessandra; Saccone,Marco; Metrangolo,Pierangelo; Resnati,Giuseppe; Kauranen,Martti; Priimägi,Arri (2015)
/dk/atira/pure/researchoutput/researchoutputtypes/contributiontojournal/articleWe demonstrate that halogen bonding strongly enhances the nonlinear optical response of poled supramolecular polymer systems. We compare three nonlinear optical chromophores with similar electronic structures but different ...