Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 62028 invoked from network); 13 Mar 2007 12:45:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Mar 2007 12:45:30 -0000 Received: (qmail 43190 invoked by uid 500); 13 Mar 2007 12:45:38 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 43165 invoked by uid 500); 13 Mar 2007 12:45:38 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 43156 invoked by uid 99); 13 Mar 2007 12:45:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Mar 2007 05:45:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Mar 2007 05:45:29 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5B9BE71406F for ; Tue, 13 Mar 2007 05:45:09 -0700 (PDT) Message-ID: <25079380.1173789909372.JavaMail.jira@brutus> Date: Tue, 13 Mar 2007 05:45:09 -0700 (PDT) From: "Mikhail Fursov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-3380) [drlvm][winx64][jit] JET operates incorrectly with long values. In-Reply-To: <18136872.1173781569392.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-3380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mikhail Fursov updated HARMONY-3380: ------------------------------------ Attachment: jet.fix sizeof(long) is 4 on windows64bit. This patch must fix he problem above. > [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 > Priority: Critical > Attachments: jet.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.