From: Darryl Miles <darryl-mailinglists@netbauds.net>
To: gcc-help@gcc.gnu.org
Subject: GCC4 x86_64 pushfl / pop %eax inline asm ?
Date: Wed, 14 Jun 2006 16:59:00 -0000 [thread overview]
Message-ID: <44904061.30601@netbauds.net> (raw)
How do I do this with GCC 4 ? This works with GCC3 on i386, but not on
GCC4 on x86_64. Any advise on what #ifdef to put in place or if there
is one way that works with both GCC versions ?
From the output of GCC test.c => test.s
#APP
pushfl
popl %eax
#NO_APP
Yeilds errors on GCC4 x86_64:
test.s:2287: Error: suffix or operands invalid for `pushf'
test.s:2288: Error: suffix or operands invalid for `pop'
Thanks
Darryl
next reply other threads:[~2006-06-14 16:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-14 16:59 Darryl Miles [this message]
2006-06-14 17:08 ` Ian Lance Taylor
2006-06-14 17:19 ` Darryl Miles
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44904061.30601@netbauds.net \
--to=darryl-mailinglists@netbauds.net \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).