Re: Need help with jikes and IEEE
In message <416C6422.5050301@galacticasoftware.com>
Adam Majer <adamm@galacticasoftware.com> wrote:
> <<<<<
>
> If jikes is compiled with native IEEE (normally jikes emulates *all*
> floating point operations), then the code compiles but produces wrong
> output.
>
> Bolzmann: -1.5630932345684943E140
>
> Jikes floating point code is in src/double.cpp and definitions in
> src/double.h. Any ideas?
I thought I'd fixed this about 4 years ago, but maybe something changed.
The ordering of the 2 words in 64-bit floating point values is opposite
to what you'd expect. i.e., ARM needs to use the big endian case for
handling of Java doubles.
--
Peter Naulls - peter@chocky.org | http://www.chocky.org/
----------------------------------------------------------------------------
Please Reply Properly - http://www.i-hate-computers.demon.co.uk/quote.html
Reply to: