You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Varlamov (JIRA)" <ji...@apache.org> on 2007/10/08 08:39:50 UTC
[jira] Closed: (HARMONY-2679) [drlvm][jit][jet] Combination of ldc
and dup instructions work incorrectly
[ https://issues.apache.org/jira/browse/HARMONY-2679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Varlamov closed HARMONY-2679.
------------------------------------
Resolution: Fixed
Applied fix and reg-test at revision: 582722
> [drlvm][jit][jet] Combination of ldc and dup instructions work incorrectly
> --------------------------------------------------------------------------
>
> Key: HARMONY-2679
> URL: https://issues.apache.org/jira/browse/HARMONY-2679
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Windows, Linux x86 (32 bit only)
> Reporter: Vera Petrashkova
> Assignee: Alexey Varlamov
> Priority: Minor
> Attachments: dupTest.zip, H2679.diff
>
>
> The following synthetic test shows incorrect behavior of ldc2_w and dup2 Instructions
> on jitrino/jet:
> -------------dupTest.jj--------------------
> .class public dupTest
> .super java/lang/Object
> .method public static main([Ljava/lang/String;)V
> .limit stack 44
> .limit locals 22
> ldc2_w 1.0
> dup2
> getstatic java/lang/System/err Ljava/io/PrintStream;
> dup_x2
> pop
> invokevirtual java/io/PrintStream/println(D)V
> getstatic java/lang/System/err Ljava/io/PrintStream;
> dup_x2
> pop
> invokevirtual java/io/PrintStream/println(D)V
> ldc2_w 1.0
> ldc2_w 1.0
> getstatic java/lang/System/err Ljava/io/PrintStream;
> dup_x2
> pop
> invokevirtual java/io/PrintStream/println(D)V
> getstatic java/lang/System/err Ljava/io/PrintStream;
> dup_x2
> pop
> invokevirtual java/io/PrintStream/println(D)V
> return
> .end method
> -------------------------
> To reproduce:
> - create dupTest class using jasmin.jar or use attached class file
> java -jar jasmine.jar dupTest
> - run dupTest
> Output on Jitrino/JET:
> 1.0
> 5.304989477E-315
> 1.0
> 1.0
> Output on interpreter and Jitrino/OPT:
> 1.0
> 1.0
> 1.0
> 1.0
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.