You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Dmitry Pronichkin (JIRA)" <ji...@apache.org> on 2008/03/06 12:18:58 UTC

[jira] Updated: (HARMONY-5580) [drlvm][jitrino][opt][perf] branch translator enhancement

     [ https://issues.apache.org/jira/browse/HARMONY-5580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Pronichkin updated HARMONY-5580:
---------------------------------------

    Attachment: btr.patch

> [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.