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:

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

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

View raw message