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-6027) [drlvm][jit] An undetected register interference in graph coloring register allocation
Date Mon, 24 Nov 2008 09:02:44 GMT

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

Xiaoming Gu updated HARMONY-6027:
---------------------------------

    Description: 
When running crypto.rsa with early_prop bypassed, a run-time bug happens because of the following
code for spec/benchmarks/crypto/rsa/Main.runMultiEncryptDecrypt().

    with early_prop
	0230D094 I140: MOVSX t166(ESI):I_32,s164(EBX):I_32 

    without early_prop
	0230D0B4 I663: MOV t165(DH):I_8,s164(EBX):I_32 
	0230D0B6 I140: MOVSX t166(ESI):I_32,t165(DH):I_8 

After checking all the code in runMultiEncryptDecrypt(), I find EDX is defined and used several
time in this method. With the control flow graph, I think the bug comes from that EDX is changed
uncarefully for the above modification on DH.

This bug is similar to H6016 from the view of early_prop. (https://issues.apache.org/jira/browse/HARMONY-6016)
But they trig different bugs.

  was:
When running crypto.rsa with early_prop bypassed, a run-time bug happens because of the following
code for spec/benchmarks/crypto/rsa/Main.runMultiEncryptDecrypt().

    with early_prop
	0230D094 I140: MOVSX t166(ESI):I_32,s164(EBX):I_32 

    without early_prop
	0230D0B4 I663: MOV t165(DH):I_8,s164(EBX):I_32 
	0230D0B6 I140: MOVSX t166(ESI):I_32,t165(DH):I_8 

After checking all the code in runMultiEncryptDecrypt(), I find EDX is defined and used several
time in this method. With the control flow graph, I think the bug comes from that EDX is changed
uncarefully for DH modification.

This bug is similar to H6016 from the view of early_prop. (https://issues.apache.org/jira/browse/HARMONY-6016)
But they trig different bugs.


> [drlvm][jit] An undetected register interference in graph coloring register allocation
> --------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6027
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6027
>             Project: Harmony
>          Issue Type: Bug
>         Environment: IA32 Windows
>            Reporter: Xiaoming Gu
>
> When running crypto.rsa with early_prop bypassed, a run-time bug happens because of the
following code for spec/benchmarks/crypto/rsa/Main.runMultiEncryptDecrypt().
>     with early_prop
> 	0230D094 I140: MOVSX t166(ESI):I_32,s164(EBX):I_32 
>     without early_prop
> 	0230D0B4 I663: MOV t165(DH):I_8,s164(EBX):I_32 
> 	0230D0B6 I140: MOVSX t166(ESI):I_32,t165(DH):I_8 
> After checking all the code in runMultiEncryptDecrypt(), I find EDX is defined and used
several time in this method. With the control flow graph, I think the bug comes from that
EDX is changed uncarefully for the above modification on DH.
> This bug is similar to H6016 from the view of early_prop. (https://issues.apache.org/jira/browse/HARMONY-6016)
But they trig different bugs.

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