]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR target/64358 (Wrong code for __int128 operations in powerpc64le)
authorPat Haugen <pthaugen@us.ibm.com>
Tue, 13 Jan 2015 19:08:49 +0000 (19:08 +0000)
committerPat Haugen <pthaugen@gcc.gnu.org>
Tue, 13 Jan 2015 19:08:49 +0000 (19:08 +0000)
commitb153b12119edb7bbb214a9f63848d0c8760cfcca
treecc86df8e23074a03bbd5f2ec45060390820c1334
parentc1dca92f0ebcd0e6c5e64d75e17bc8753047683a
backport: re PR target/64358 (Wrong code for __int128 operations in powerpc64le)

Backport from mainline
2014-12-20  Segher Boessenkool  <segher@kernel.crashing.org>

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: r219548
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.md