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] Created: (HARMONY-6023) [drlvm][jit] Incorrect int64 lower for MOVSX and MOV
Date Wed, 19 Nov 2008 15:34:44 GMT
[drlvm][jit] Incorrect int64 lower for MOVSX and MOV

                 Key: HARMONY-6023
                 URL: https://issues.apache.org/jira/browse/HARMONY-6023
             Project: Harmony
          Issue Type: Bug
         Environment: IA32 Windows
            Reporter: Xiaoming Gu

This bug happens in java.math.Division.divide() if early_prop bypassed. Following are the

    before i8l pass
	I170: (AD:t229:int64) =I8PseudoInst/MOVSX (AU:t228:I_32) 
	I171: (AD:v5:int64) =I8PseudoInst/MOV (AU:t229:int64) 

    after i8l pass
	I783: o1017:U_32 =MOV t228:I_32 
	I785: (AD:o960:U_32) =CopyPseudoInst/MOV (AU:o1017:U_32) 
	I786: (AD:o961:I_32) =CopyPseudoInst/MOV (AU:o1018:I_32) 

o1018 is not defined, which will cause an assertion error in webmaker pass.

(It looks there is nothing between early_prop and this bug. But with early_prop, I786 is deleted
by the second cg_dce before webmaker. I don't know why I786 is not deleted if early_prop bypassed.
With some investigation, I think there might be something wrong with liveness calculation
during cg_dce. I'll do more when this bug is fixed.)

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

View raw message