This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/20421] New: 387 mode switching clobbers flags


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]