PR target/64358
commit0353389170ed2012b0cae96072d60334bb119df6
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 20 Dec 2014 15:37:06 +0000 (20 15:37 +0000)
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 20 Dec 2014 15:37:06 +0000 (20 15:37 +0000)
tree8f7b1106d6b4d11a05a9ae0dd8c1065592dcfdb2
parent7a8cb66a15a4335cdb61bbbf0c28673cee272534
PR target/64358
* config/rs6000/rs6000.c (rs6000_split_logical_inner): Swap the
input operands if only the second is inverted.
* config/rs6000/rs6000.md (*boolc<mode>3_internal1 for BOOL_128):
Swap BOOL_REGS_OP1 and BOOL_REGS_OP2.  Correct arguments to
rs6000_split_logical.
(*boolc<mode>3_internal2 for TI2): Swap operands[1] and operands[2].

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