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

Nils Eliasson nils.eliasson at oracle.com
Mon Apr 23 02:36:56 PDT 2012

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.


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20120423/bb4d4462/attachment.html 

More information about the hotspot-compiler-dev mailing list