x86 Intrinsics for fma in Math Library

Deshpande, Vivek R vivek.r.deshpande at intel.com
Wed Aug 3 21:05:06 UTC 2016


Hi Andrew

I have tested the patch using the test at this URL provided by you.
http://grouper.ieee.org/groups/754/email/msg02513.html
Are you developing a test based on that to put in the jdk/ hotspot ?

Regards,
Vivek

-----Original Message-----
From: hotspot-compiler-dev [mailto:hotspot-compiler-dev-bounces at openjdk.java.net] On Behalf Of Andrew Haley
Sent: Wednesday, August 03, 2016 11:00 AM
To: Vladimir Kozlov; hotspot-compiler-dev at openjdk.java.net
Subject: Re: x86 Intrinsics for fma in Math Library

On 22/07/16 10:08, Andrew Haley wrote:
> On 21/07/16 18:18, Vladimir Kozlov wrote:
> 
>> Good suggestion. Need a test to confirm "correct" results matching 
>> result of assembler instruction.
> 
> I've been looking at JDK tests for the correct fma rounding.  I've run 
> these to check that AArch64 fma works correctly.  It turns out that if 
> you run tests with inlining enabled, C2 collapses most of the code to 
> nothing because of constant propagation.  If you run the tests with 
> inlining enabled, you test the arithmetic at runtime.  I've also added 
> a test which makes sure that rounding is only done once on the 
> low-order bits.
> 
> This would form the basis for a HotSpot test, I think.

Ping?  This discussion seems to have gone very quiet.

Andrew.




More information about the hotspot-compiler-dev mailing list