This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: java.lang.StrictMath


Bryce McKinlay writes:
 > Tom Tromey wrote:
 > 
 > >I've removed the Classpath list and other innocent bystanders from the
 > >CC line.
 > >
 > >Bryce> Do you have any examples of how GCC is *not* strictfp compliant
 > >Bryce> (at least on common platforms)? My understanding is that, by
 > >Bryce> default, it tries to be strictly IEEE 754. On x86 it will store
 > >Bryce> values to memory and make a function call to do FP arithmetic,
 > >Bryce> unless -ffast-math is given which allows it to do inline math
 > >Bryce> using (the 80-bit x87) FP registers.
 > >
 > >I don't have examples.
 > >
 > 
 > Actually, I just rediscovered this test case from Shudo-san:
 > 
 > http://gcc.gnu.org/ml/java/2001-01/msg00496.html

I'm not sure I believe that test case, as I said in my follow-up.

 > So, we don't get strictfp right on x86 even using -ffloat-store

That isn't surprising.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]