This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/64358] Wrong code for __int128 operations in powerpc64le
- From: "pthaugen at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 13 Jan 2015 19:09:21 +0000
- Subject: [Bug target/64358] Wrong code for __int128 operations in powerpc64le
- Auto-submitted: auto-generated
- References: <bug-64358-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64358
--- Comment #4 from Pat Haugen <pthaugen at gcc dot gnu.org> ---
Author: pthaugen
Date: Tue Jan 13 19:08:49 2015
New Revision: 219548
URL: https://gcc.gnu.org/viewcvs?rev=219548&root=gcc&view=rev
Log:
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].
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/config/rs6000/rs6000.c
branches/gcc-4_8-branch/gcc/config/rs6000/rs6000.md