This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/20421] New: 387 mode switching clobbers flags
- From: "uros at kss-loka dot si" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Mar 2005 09:49:10 -0000
- Subject: [Bug target/20421] New: 387 mode switching clobbers flags
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
All patterns that insert mode switching code via LCM should be marked as
clobbering the flags. fix_trunc* patterns were fixed by PR12308, but
floordf, floorsf, floorxf, ceildf, ceilsf, ceilxf, btruncdf, btruncsf, btruncxf,
nearbyintdf, nearbyintsf and nearbyintxf should still be fixed.
Actually, all patterns that set ix86_optimize_mode_switching = 1 needs to be
marked as clobbering the flags.
--
Summary: 387 mode switching clobbers flags
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: uros at kss-loka dot si
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i386-pc-linux-gnu
GCC host triplet: i386-pc-linux-gnu
GCC target triplet: i386-pc-linux-gnu
BugsThisDependsOn: 12308
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20421