RFR (M): 8139575: Update for x86 log in the math lib

Vladimir Kozlov vladimir.kozlov at oracle.com
Mon Oct 19 00:44:04 UTC 2015


macroAssembler_x86.hpp instead of couple #if you can do:

+  void fast_log(XMMRegister xmm0, XMMRegister xmm1, XMMRegister xmm2, 
XMMRegister xmm3,
+                XMMRegister xmm4, XMMRegister xmm5, XMMRegister xmm6, 
XMMRegister xmm7,
+                Register rax, Register rcx, Register rdx, Register tmp1 
LP64_ONLY(, Register tmp2));

Otherwise looks good.

Thanks,
Vladimir

On 10/15/15 5:18 AM, Deshpande, Vivek R wrote:
> Hi all
>
> I would like to contribute a patch which optimizes Math.log() for 64 and
> 32 bit X86 architecture using Intel LIBM  implementation.
>
> The improvement gives 1.9x gain over base.
>
> Could you please review and sponsor this patch.
>
> Bug-id:
>
> https://bugs.openjdk.java.net/browse/JDK-8139575
> webrev:
>
> http://cr.openjdk.java.net/~mcberg/8139575/webrev_01/
>
> Thanks and regards,
>
> Vivek
>


More information about the hotspot-compiler-dev mailing list