This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Problem with interpreted double operations on IA64
- From: Andrew Haley <aph at cambridge dot redhat dot com>
- To: "Boehm, Hans" <hans_boehm at hp dot com>
- Cc: "'java at gcc dot gnu dot org'" <java at gcc dot gnu dot org>,"'tromey at redhat dot com'" <tromey at redhat dot com>
- Date: Tue, 9 Apr 2002 17:37:12 +0100 (BST)
- Subject: Problem with interpreted double operations on IA64
- References: <40700B4C02ABD5119F000090278766443BF19D@hplex1.hpl.hp.com>
Boehm, Hans writes:
> Could someone point me at a description of exactly how type __java_double
> should differ from double? As far as I can tell, __java_double is used
> primarily by the interpreter? On X86 this seems to work correctly. On IA64
> (and perhaps other 64-bit platforms?), it seems to get confused about the
> low order bits. This means that "double precision" results in the
> interpreter are computed at most to single precision accuracy. Here's a C++
> example to demonstrate the issue. Gij runs into the same problems, causing
> scimark to fail, etc. (This is with a very recent 3.1 tree.)
Weird. Could you please run gcc with '-save-temps -dD' and let us
have the double.ii file you get?
Andrew.