harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Pronichkin (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5580) [drlvm][jitrino][opt][perf] branch translator enhancement
Date Thu, 06 Mar 2008 11:18:58 GMT
[drlvm][jitrino][opt][perf] branch translator enhancement
---------------------------------------------------------

                 Key: HARMONY-5580
                 URL: https://issues.apache.org/jira/browse/HARMONY-5580
             Project: Harmony
          Issue Type: Improvement
          Components: DRLVM
         Environment: IA32
            Reporter: Dmitry Pronichkin
         Attachments: btr.patch

The patch introduces new way of branch elimination. It eliminates branches like this:
if (x<0) {
    x+=y;
}

transforming them in following assembly:
mov tmp, x
sar tmp, 31  (spreading sign for the whole value)
and tmp, y    (moving "y" in tmp if x<0)
add x, tmp

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message