United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6251002 Math.exp() needs to be intrinsified
JDK-6251002 : Math.exp() needs to be intrinsified

Details
Type:
Enhancement
Submit Date:
2005-04-05
Status:
Resolved
Updated Date:
2011-09-15
Project Name:
JDK
Resolved Date:
2005-04-20
Component:
hotspot
OS:
solaris
Sub-Component:
compiler
CPU:
sparc
Priority:
P3
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports
Relates:

Sub Tasks

Description
Math.exp() should be intrinsified to use hardware...
###@###.### 2005-04-05 21:45:13 GMT

                                    

Comments
EVALUATION

Performance Improvements:

2x3.2Ghz P4 (Linux)
EXP
avg   71.2 ns   total 1.42E0 s   for exp                (~ 228.0 cycles)
avg  519.4 ns   total 1.04E1 s   for pow                (~ 1662.1 cycles)
avg   71.2 ns   total 1.42E0 s   for exp                (~ 227.7 cycles)
avg  539.6 ns   total 1.08E1 s   for pow                (~ 1726.9 cycles)

Java6-b30
avg  168.0 ns   total 3.36E0 s   for exp                (~ 537.8 cycles)
avg  571.4 ns   total 1.14E1 s   for pow                (~ 1828.6 cycles)
avg  176.0 ns   total 3.52E0 s   for exp                (~ 563.2 cycles)
avg  583.1 ns   total 1.17E1 s   for pow                (~ 1865.8 cycles)

U80 450Mhz
EXP
avg  293.4 ns   total 5.87E0 s   for exp                (~ 938.9 cycles)
avg  935.0 ns   total 1.87E1 s   for pow                (~ 2992.0 cycles)
avg  297.5 ns   total 5.95E0 s   for exp                (~ 952.0 cycles)
avg  935.8 ns   total 1.87E1 s   for pow                (~ 2994.7 cycles)

Java6-b30
avg  735.8 ns   total 1.47E1 s   for exp                (~ 2354.7 cycles)
avg 1129.6 ns   total 2.26E1 s   for pow                (~ 3614.7 cycles)
avg  732.1 ns   total 1.46E1 s   for exp                (~ 2342.7 cycles)
avg 1131.6 ns   total 2.26E1 s   for pow                (~ 3621.3 cycles)

AMD64 2x1.8Ghz (Linux)
EXP
avg   82.8 ns   total 1.66E0 s   for exp                (~ 265.0 cycles)
avg  289.4 ns   total 5.79E0 s   for pow                (~ 926.2 cycles)
avg   82.8 ns   total 1.66E0 s   for exp                (~ 265.0 cycles)
avg  289.5 ns   total 5.79E0 s   for pow                (~ 926.4 cycles)

Java6-b30
avg  169.0 ns   total 3.38E0 s   for exp                (~ 541.0 cycles)
avg  323.7 ns   total 6.47E0 s   for pow                (~ 1035.7 cycles)
avg  169.2 ns   total 3.38E0 s   for exp                (~ 541.3 cycles)
avg  323.9 ns   total 6.48E0 s   for pow                (~ 1036.5 cycles)

###@###.### 2005-04-12 18:23:03 GMT
                                     
2005-04-12
SUGGESTED FIX

http://analemma.sfbay.sun.com/net/prt-archiver.sfbay/data/archived_workspaces/main/c2_baseline/2005/20050411153633.azeem.exp/workspace/webrevs/webrev-2005.04.12/index.html
###@###.### 2005-04-12 18:23:03 GMT

Also this is required as well:
http://analemma.sfbay.sun.com/net/prt-archiver.sfbay/data/archived_workspaces/main/c2_baseline/2005/20050413113329.azeem.exp/workspace/webrevs/webrev-2005.04.13/index.html
###@###.### 2005-04-13 23:22:18 GMT
                                     
2005-04-12



Hardware and Software, Engineered to Work Together