harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Fursov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3380) [drlvm][winx64][jit] JET operates incorrectly with long values.
Date Wed, 14 Mar 2007 11:14:09 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480722
] 

Mikhail Fursov commented on HARMONY-3380:
-----------------------------------------

1) Historical reasons. int_ptr was already used by JET
2) I agree. I have never heard about PI_FMT before, so I used classic ifdef here. 

> [drlvm][winx64][jit] JET operates incorrectly with long values.
> ---------------------------------------------------------------
>
>                 Key: HARMONY-3380
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3380
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: windows/em64t
>            Reporter: Pavel Rebriy
>         Assigned To: Alexey Varlamov
>            Priority: Critical
>         Attachments: jet.fix, jet_2.fix
>
>
> While debugging DRLVM on Windows Intel64 platform I've found that JET operates incorrectly
with long values and prevents some benchmarks to pass.
> Here is the test:
> public class Test {
>     public static void main(String[] args) {
>         long a = 0x00100000000L;
>         long b = 0x01010101010L;
>         test(a,b);
>     }
>     static void test( long a, long b ) {
>         System.out.format("a I b = %1$x%n", (a|b) );
>     }
> }
> RI prints:
> a | b = 1110101010
> Harmony (with JET):
> a | b = 10101010
> I think the cause is a problem in JET code generation on Windows Intel64.

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