hotspot/src/cpu/ppc/vm/ppc.ad
changeset 30758 97072ce7c6fe
parent 30303 c703c89fddbf
child 31773 f874931cbae7
--- a/hotspot/src/cpu/ppc/vm/ppc.ad	Mon May 18 19:54:49 2015 +0200
+++ b/hotspot/src/cpu/ppc/vm/ppc.ad	Tue May 19 11:06:34 2015 +0200
@@ -2173,9 +2173,8 @@
 
 // Do we need to mask the count passed to shift instructions or does
 // the cpu only look at the lower 5/6 bits anyway?
-// Off, as masks are generated in expand rules where required.
-// Constant shift counts are handled in Ideal phase.
-const bool Matcher::need_masked_shift_count = false;
+// PowerPC requires masked shift counts.
+const bool Matcher::need_masked_shift_count = true;
 
 // This affects two different things:
 //  - how Decode nodes are matched