public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/36079]  New: cld instruction is not emitted anymore.
@ 2008-04-29 12:53 ubizjak at gmail dot com
  2008-04-29 13:15 ` [Bug target/36079] " ubizjak at gmail dot com
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: ubizjak at gmail dot com @ 2008-04-29 12:53 UTC (permalink / raw)
  To: gcc-bugs

This bug is opened to track the issue with cld insn.

gcc-4.3.0 does not emit cld instruction anymore in front of string instruction.
Due to this, OSes that does not clear direction flag in task switch can enter
exception handler with D flag set. This is ABI violation since ABI requires D
flag to be cleared on function entry.

Proposed patch (with a lot of follow-up discussion) is here:

http://gcc.gnu.org/ml/gcc-patches/2008-03/msg00417.html

and further discussion here:

http://gcc.gnu.org/ml/gcc-patches/2008-04/msg02026.html


-- 
           Summary: cld instruction is not emitted anymore.
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ubizjak at gmail dot com
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36079


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2008-06-10 10:57 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-29 12:53 [Bug target/36079] New: cld instruction is not emitted anymore ubizjak at gmail dot com
2008-04-29 13:15 ` [Bug target/36079] " ubizjak at gmail dot com
2008-04-29 13:37 ` cnstar9988 at gmail dot com
2008-04-29 14:47 ` [Bug target/36079] [4.3/4.4 Regression] " rguenth at gcc dot gnu dot org
2008-05-05 15:49 ` jsm28 at gcc dot gnu dot org
2008-05-20  5:47 ` ubizjak at gmail dot com
2008-05-20  7:09 ` cnstar9988 at gmail dot com
2008-05-20  8:49 ` cnstar9988 at gmail dot com
2008-05-20 12:52 ` ubizjak at gmail dot com
2008-05-20 15:18 ` cnstar9988 at gmail dot com
2008-05-20 15:25 ` cnstar9988 at gmail dot com
2008-05-20 15:28 ` rguenther at suse dot de
2008-05-21  8:55 ` uros at gcc dot gnu dot org
2008-05-22  2:42 ` cnstar9988 at gmail dot com
2008-05-23  7:54 ` uros at gcc dot gnu dot org
2008-05-23  8:40 ` ubizjak at gmail dot com
2008-06-10 10:08 ` cnstar9988 at gmail dot com
2008-06-10 10:57 ` rguenther at suse dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).