1.1 --- a/src/cpu/ppc/vm/ppc.ad Tue May 19 15:49:27 2015 +0200 1.2 +++ b/src/cpu/ppc/vm/ppc.ad Tue May 19 11:06:34 2015 +0200 1.3 @@ -2264,9 +2264,8 @@ 1.4 1.5 // Do we need to mask the count passed to shift instructions or does 1.6 // the cpu only look at the lower 5/6 bits anyway? 1.7 -// Off, as masks are generated in expand rules where required. 1.8 -// Constant shift counts are handled in Ideal phase. 1.9 -const bool Matcher::need_masked_shift_count = false; 1.10 +// PowerPC requires masked shift counts. 1.11 +const bool Matcher::need_masked_shift_count = true; 1.12 1.13 // This affects two different things: 1.14 // - how Decode nodes are matched