RFR (S): 8154473: Update for CompilerDirectives to control stub generation and intrinsics

Deshpande, Vivek R vivek.r.deshpande at intel.com
Mon Apr 18 18:38:52 UTC 2016


Hi Christian

I have added this. Just moved generate_libmTan() after sin and cos generation.
if (vmIntrinsics::is_intrinsic_available(vmIntrinsics::_dtan)) {
  StubRoutines::_dtan = generate_libmTan();
}

Regards,
Vivek

From: Christian Thalinger [mailto:christian.thalinger at oracle.com]
Sent: Monday, April 18, 2016 11:35 AM
To: Deshpande, Vivek R <vivek.r.deshpande at intel.com>
Cc: hotspot compiler <hotspot-compiler-dev at openjdk.java.net>; Vladimir Kozlov <vladimir.kozlov at oracle.com>; Viswanathan, Sandhya <sandhya.viswanathan at intel.com>
Subject: Re: RFR (S): 8154473: Update for CompilerDirectives to control stub generation and intrinsics


On Apr 18, 2016, at 7:38 AM, Deshpande, Vivek R <vivek.r.deshpande at intel.com<mailto:vivek.r.deshpande at intel.com>> wrote:

Hi all

I would like to contribute a patch which helps to control the intrinsics in interpreter, c1 and c2 by disabling the stub generation.
This uses -XX:DisableIntrinsic option to achieve the same.
Could you please review and sponsor this patch.

Bug-id:
https://bugs.openjdk.java.net/browse/JDK-8154473
webrev:
http://cr.openjdk.java.net/~vdeshpande/CompilerDirectives/8154473/webrev.00/

src/cpu/x86/vm/stubGenerator_x86_64.cpp

+      if (vmIntrinsics::is_intrinsic_available(vmIntrinsics::_dpow)) {

       StubRoutines::_dpow = generate_libmPow();

-      StubRoutines::_dtan = generate_libmTan();

+      }
Was removing libmTan on purpose?



Thanks and regards,
Vivek

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160418/a1c534b6/attachment.html>


More information about the hotspot-compiler-dev mailing list