diff src/cpu/ppc/vm/ppc.ad @ 23032:37a5a1341478

8080190: PPC64: Fix wrong rotate instructions in the .ad file Reviewed-by: kvn
author simonis
date Tue, 19 May 2015 11:06:34 +0200
parents aefa2e84b424
children c3d0bd36ab28
line wrap: on
line diff
--- a/src/cpu/ppc/vm/ppc.ad	Tue May 19 15:49:27 2015 +0200
+++ b/src/cpu/ppc/vm/ppc.ad	Tue May 19 11:06:34 2015 +0200
@@ -2264,9 +2264,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