harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoming Gu (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-6024) [drlvm][jit] Incorrect generated instruction in peephole opt for MOV
Date Thu, 20 Nov 2008 05:54:44 GMT

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

Xiaoming Gu updated HARMONY-6024:
---------------------------------

    Description: 
In the case 1 of peephole opt for MOV in Ia32PeepHole.cpp, the optimization is like following:

        MOV opnd, opnd2            
        MOV opnd3, opnd      
              =>
        MOV opnd3, opnd2

The bug is the new MOV instruction is always generated by "newInst" even the original MOV
instructions are both pseudo copy, which will cause an assertion error later.

  was:
In the case 1 of peephole opt for MOV in Ia32PeepHole.cpp, the optimization is like following:

        MOV opnd, opnd2             MOV opnd3, opnd2
        MOV opnd3, opnd      =>

The bug is the new MOV instruction is always generated by "newInst" even the original MOV
instructions are both pseudo copy, which will cause an assertion error later.


> [drlvm][jit] Incorrect generated instruction in peephole opt for MOV
> --------------------------------------------------------------------
>
>                 Key: HARMONY-6024
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6024
>             Project: Harmony
>          Issue Type: Bug
>         Environment: IA32 Windows
>            Reporter: Xiaoming Gu
>         Attachments: H6024-V1.patch
>
>
> In the case 1 of peephole opt for MOV in Ia32PeepHole.cpp, the optimization is like following:
>         MOV opnd, opnd2            
>         MOV opnd3, opnd      
>               =>
>         MOV opnd3, opnd2
> The bug is the new MOV instruction is always generated by "newInst" even the original
MOV instructions are both pseudo copy, which will cause an assertion error later.

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