rs6000: Merge the var_shift yes/no alternatives
commit4e1baabd2e8435771156b4679233da518a465f8d
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 22 Jun 2014 17:21:08 +0000 (22 17:21 +0000)
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 22 Jun 2014 17:21:08 +0000 (22 17:21 +0000)
tree4497704d5a9319303117bde7e1dd1de795b10fcc
parent0d1b962c283e9f484e5832d9b95d587428590ad9
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".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211880 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/rs6000.md