src/cpu/ppc/vm/ppc.ad

changeset 7836
37a5a1341478
parent 7638
aefa2e84b424
child 7994
04ff2f6cd0eb
child 8427
c3d0bd36ab28
     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

mercurial