[aarch64-port-dev ] RFR(M): 8212043: Add floating-point Math.min/max intrinsics

Pengfei Li (Arm Technology China) Pengfei.Li at arm.com
Mon Oct 22 02:40:58 UTC 2018


Hi Andrew, 

> Thanks. Putting code we're not licencsed to use on cr.openjdk is a bit
> pointless:
Thanks for pointing out. I've updated this file.
http://cr.openjdk.java.net/~pli/rfr/8212043/TestFpMinMaxIntrinsics.java

I re-tested this JMH code manually on an AArch64 server just now.
The findFmin() and findFmax() items do not have much performance gain (1.1x - 1.2x).
But the findDmin() and findDmax() items are optimized a lot (about 29x - 30x).
I don't understand why float and double differ so greatly. Maybe you could try it in your machine and see if it's the similar result.

--
Thanks,
Pengfei



More information about the hotspot-compiler-dev mailing list