You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Nikolay Sidelnikov (JIRA)" <ji...@apache.org> on 2006/12/14 12:05:23 UTC

[jira] Updated: (HARMONY-2686) [drlvm][jit][opt] Jitrino doesn't remove unnesassary conditional jumps after constants compare

     [ http://issues.apache.org/jira/browse/HARMONY-2686?page=all ]

Nikolay Sidelnikov updated HARMONY-2686:
----------------------------------------

    Attachment: branchTranslator.patch

The patch contains implementation of the optimization

> [drlvm][jit][opt] Jitrino doesn't remove unnesassary conditional jumps after constants compare
> ----------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2686
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2686
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Attachments: branchTranslator.patch
>
>
> There are number of  cases when Jitrino is able to remove a branch. For example:
> 1)
>        MOV eax, 1
>        CMP eax, 0
>        JZ 
> 2)
>        MOV eax, 1
>        JMP L1
>        MOV eax, 0
> L1: CMP eax, 0
>        JZ

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira