diff src/share/vm/runtime/globals.hpp @ 775:93c14e5562c4

6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}() Summary: These methods can be instrinsified by using bit scan, bit test, and population count instructions. Reviewed-by: kvn, never
author twisti
date Wed, 06 May 2009 00:27:52 -0700
parents be93aad57795
children d0e0d6d824d8
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp	Tue May 05 11:02:10 2009 -0700
+++ b/src/share/vm/runtime/globals.hpp	Wed May 06 00:27:52 2009 -0700
@@ -2185,6 +2185,9 @@
   diagnostic(bool, PrintIntrinsics, false,                                  \
           "prints attempted and successful inlining of intrinsics")         \
                                                                             \
+  product(bool, UseCountLeadingZerosInstruction, false,                     \
+          "Use count leading zeros instruction")                            \
+                                                                            \
   product(bool, UsePopCountInstruction, false,                              \
           "Use population count instruction")                               \
                                                                             \