harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Harmony Wiki] Update of "Jitrino OPT/btr" by Mikhail Fursov
Date Mon, 12 May 2008 07:38:59 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Harmony Wiki" for change notification.

The following page has been changed by Mikhail Fursov:
http://wiki.apache.org/harmony/Jitrino_OPT/btr

New page:
''' 'btr' ''' LIR transformation replaces branch instructions with conditional CMOVcc or SETcc
instructions
[[BR]]
The algorithm takes one-pass over CFG.
[[BR]]
The transformation allows to reduce count of branches and is recommended to be inserted before
other LIR transformations
[[BR]]

The algorithm works as follows:    
{{{
     1)    Finds branch instruction which performs branch to basic blocks with
         only instructions MOV with the same def-operand.
 
     2)    If each of thus blocks has only one predecessor they and branch 
         instruction is replaced with conditional instruction
 }}}

Mime
View raw message