RFR(M): 7133857: exp() and pow() should use the x87 ISA on x86

Dmitry Samersoff Dmitry.Samersoff at oracle.com
Mon Apr 23 08:18:53 PDT 2012


I'm against dropping x87 because there is plenty of
x86 boards in a market power enough to run server VM for long running
applications but not implementing SSE2.


On 2012-04-23 13:36, Nils Eliasson wrote:
> Just curious, have there ever been any discussion about retiring x87
> support? For server, there can't be many non-SSE2 user
> (JRockit retired x87 in the R28.0 release in 2010), for client some P3s
> and Athlon XPs are probably still out there. For embedded, I have no
> clue at all, except that there are some Geodes without SSE2.
> Do we have any download count for different x86/x64 hardware?
> If we agree that server and client can do without, then we should start
> with removing x87 from c2.
> //Nils
> Roland Westrelin skrev 2012-04-02 10:56:
>> Implements Math.exp() and Math.pow() using the x87 ISA. It is based on an existing implementation in C2 that was disabled because it was found to be broken. This change fixes some corner cases of the previous implementation and uses the same code in the interpreter, c1 and c2 so that consistent results are obtained from exp() and pow().
>> http://cr.openjdk.java.net/~roland/7133857/webrev.00/
>> Roland.

Dmitry Samersoff
Java SE development team, SPB04
* There will come soft rains ...

More information about the hotspot-compiler-dev mailing list