JDK-8143353 : update for x86 sin and cos in the math lib
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: x86
  • Submitted: 2015-11-19
  • Updated: 2025-01-21
  • Resolved: 2016-01-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b105Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
This change updates the sin and cos functions with a newer representation which increases performance on x86.
Comments
URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/13b04370e8e9 User: lana Date: 2016-02-10 21:55:30 +0000
10-02-2016

URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/ddd59a780769 User: lana Date: 2016-02-10 21:55:24 +0000
10-02-2016

URL: http://hg.openjdk.java.net/jdk9/hs-comp/hotspot/rev/13b04370e8e9 User: kvn Date: 2016-01-09 06:21:40 +0000
09-01-2016

URL: http://hg.openjdk.java.net/jdk9/hs-comp/jdk/rev/ddd59a780769 User: kvn Date: 2016-01-09 06:21:38 +0000
09-01-2016

updated webrev for hotspot http://cr.openjdk.java.net/~vdeshpande/libm_sincos/8143353/hotspot/webrev.00/
25-12-2015

Code contributed by Vivek Deshpande: hotspot: http://cr.openjdk.java.net/~mcberg/8143353/webrev.03/ jdk: http://cr.openjdk.java.net/~vdeshpande/libm_sincos/8143353/jdk/webrev.00/
23-12-2015

The performance gain is ~4.25x with both sin and cos.
19-11-2015