diff src/share/vm/opto/library_call.cpp @ 14463:0f19095fd8c1

8035394: PPC64: Make usage of intrinsic dsqrt depend on processor recognition. Reviewed-by: kvn
author goetz
date Thu, 20 Feb 2014 11:05:12 +0100
parents abec000618bf
children cd5d10655495 f6301b007a16 62c54fcc0a35
line wrap: on
line diff
--- a/src/share/vm/opto/library_call.cpp	Thu Feb 20 10:48:57 2014 +0100
+++ b/src/share/vm/opto/library_call.cpp	Thu Feb 20 11:05:12 2014 +0100
@@ -1937,7 +1937,7 @@
     runtime_math(OptoRuntime::Math_D_D_Type(), FN_PTR(SharedRuntime::dlog10), "LOG10");
 
     // These intrinsics are supported on all hardware
-  case vmIntrinsics::_dsqrt:  return Matcher::has_match_rule(Op_SqrtD)  ? inline_math(id) : false;
+  case vmIntrinsics::_dsqrt:  return Matcher::match_rule_supported(Op_SqrtD) ? inline_math(id) : false;
   case vmIntrinsics::_dabs:   return Matcher::has_match_rule(Op_AbsD)   ? inline_math(id) : false;
 
   case vmIntrinsics::_dexp:   return Matcher::has_match_rule(Op_ExpD)   ? inline_exp()    :