This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/19147] New: invalid rlwinm patterns
- From: "amodra at bigpond dot net dot au" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Dec 2004 06:25:53 -0000
- Subject: [Bug target/19147] New: invalid rlwinm patterns
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
andsi3_internal7 and andsi3_internal8 generate invalid LT and GT condition
codes. This is because these bits of the condition register are set from
all 64 bits of the register in 64-bit mode. I don't believe it is possible
to have all of EQ, LT and GT correct using only two rlwinm instructions in
the mask_operand_wrap case.
Causes failure of gcc.c-torture/execute/930718-1.c
--
Summary: invalid rlwinm patterns
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: critical
Priority: P2
Component: target
AssignedTo: amodra at bigpond dot net dot au
ReportedBy: amodra at bigpond dot net dot au
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc64-*-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19147