rs6000: Merge the var_shift yes/no alternatives
authorSegher Boessenkool <segher@kernel.crashing.org>
Sun, 22 Jun 2014 17:21:08 +0000 (19:21 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Sun, 22 Jun 2014 17:21:08 +0000 (19:21 +0200)
commit37317a1fc012ba4208a01d337864c579c55d3a3d
tree4497704d5a9319303117bde7e1dd1de795b10fcc
parent85c1cb2250016893b1e07cc529fd614bb4cddc40
rs6000: Merge the var_shift yes/no alternatives

All instructions that are "var_shift" for some alternative have the shift
amount as operands[2].

This patch introduces an attribute "maybe_var_shift".  If that is set to
"yes", the default value of "var_shift" is set based on the operands[2]
value.

With that, we can merge the var_shift yes/no cases everywhere.  Do so.

Also change some more "i" to "n".

From-SVN: r211880
gcc/ChangeLog
gcc/config/rs6000/rs6000.md