re PR target/64358 (Wrong code for __int128 operations in powerpc64le)
authorSegher Boessenkool <segher@kernel.crashing.org>
Sat, 20 Dec 2014 15:37:06 +0000 (16:37 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Sat, 20 Dec 2014 15:37:06 +0000 (16:37 +0100)
commit2f40404fb3c073ee55dede450bc7fbbd0da5d8a7
tree8f7b1106d6b4d11a05a9ae0dd8c1065592dcfdb2
parent9836f82e7a4e2089fd8a023d7ac041d7c9a53a64
re PR target/64358 (Wrong code for __int128 operations in powerpc64le)

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].

From-SVN: r218989
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.md