--- a/jdk/make/gensrc/GensrcVarHandles.gmk Thu Sep 01 08:39:27 2016 -0700
+++ b/jdk/make/gensrc/GensrcVarHandles.gmk Thu Sep 01 10:16:57 2016 -0700
@@ -44,6 +44,10 @@
$1_ARGS += -KAtomicAdd
endif
+ ifneq ($$(findstring $$($1_Type), Boolean Byte Short Char Int Long), )
+ $1_ARGS += -KBitwise
+ endif
+
ifneq ($$(findstring $$($1_Type), Byte Short Char), )
$1_ARGS += -KShorterThanInt
endif
@@ -101,6 +105,7 @@
$1_ARGS += -KCAS
$1_ARGS += -KAtomicAdd
+ $1_ARGS += -KBitwise
endif
ifeq ($$($1_Type), Long)
@@ -113,6 +118,7 @@
$1_ARGS += -KCAS
$1_ARGS += -KAtomicAdd
+ $1_ARGS += -KBitwise
endif
ifeq ($$($1_Type), Float)