public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: "Tomás Palmer" <Tpalmer@widevine.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: RE: other/8311: Legal intel instructions being flagged as illegal Date: Tue, 22 Oct 2002 13:36:00 -0000 [thread overview] Message-ID: <20021022203603.14423.qmail@sources.redhat.com> (raw) The following reply was made to PR other/8311; it has been noted by GNATS. From: =?iso-8859-1?Q?Tom=E1s_Palmer?= <Tpalmer@widevine.com> To: "'zack@gcc.gnu.org'" <zack@gcc.gnu.org>, "'gcc-bugs@gcc.gnu.org'" <gcc-bugs@gcc.gnu.org>, "'gcc-prs@gcc.gnu.org'" <gcc-prs@gcc.gnu.org>, "'nobody@gcc.gnu.org'" <nobody@gcc.gnu.org>, =?iso-8859-1?Q?Tom=E1s_Pa?= =?iso-8859-1?Q?lmer?= <Tpalmer@widevine.com>, "'gcc-gnats@gcc.gnu.org'" <gcc-gnats@gcc.gnu.org> Cc: Subject: RE: other/8311: Legal intel instructions being flagged as illegal Date: Tue, 22 Oct 2002 13:32:12 -0700 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C27A0A.1A4709C0 Content-Type: text/plain; charset="iso-8859-1" Thank you, very much. I will change my code. -----Original Message----- From: zack@gcc.gnu.org [mailto:zack@gcc.gnu.org] Sent: Tuesday, October 22, 2002 1:21 PM To: gcc-bugs@gcc.gnu.org; gcc-prs@gcc.gnu.org; nobody@gcc.gnu.org; tpalmer@widevine.com Subject: Re: other/8311: Legal intel instructions being flagged as illegal Synopsis: Legal intel instructions being flagged as illegal State-Changed-From-To: open->closed State-Changed-By: zack State-Changed-When: Tue Oct 22 13:20:42 2002 State-Changed-Why: GCC does not attempt to interpret the text of an asm() statement, beyond processing %-substitutions for operands. The error message you quoted came from the assembler. The instruction mnemonics "pushfd" and "popfd" are valid only in Intel syntax. In its default mode, GAS uses AT&T syntax, in which these opcodes are spelled "pushf" and "popf" respectively. You can either change your code to use these, or (with sufficiently recent versions of GCC and GAS) you can use the -masm=intel command line switch. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p r=8311 ------_=_NextPart_001_01C27A0A.1A4709C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2653.12"> <TITLE>RE: other/8311: Legal intel instructions being flagged as = illegal</TITLE> </HEAD> <BODY> <P><FONT SIZE=3D2>Thank you, very much.</FONT> <BR><FONT SIZE=3D2>I will change my code.</FONT> </P> <BR> <P><FONT SIZE=3D2>-----Original Message-----</FONT> <BR><FONT SIZE=3D2>From: zack@gcc.gnu.org [<A = HREF=3D"mailto:zack@gcc.gnu.org">mailto:zack@gcc.gnu.org</A>]</FONT> <BR><FONT SIZE=3D2>Sent: Tuesday, October 22, 2002 1:21 PM</FONT> <BR><FONT SIZE=3D2>To: gcc-bugs@gcc.gnu.org; gcc-prs@gcc.gnu.org; = nobody@gcc.gnu.org;</FONT> <BR><FONT SIZE=3D2>tpalmer@widevine.com</FONT> <BR><FONT SIZE=3D2>Subject: Re: other/8311: Legal intel instructions = being flagged as</FONT> <BR><FONT SIZE=3D2>illegal</FONT> </P> <BR> <P><FONT SIZE=3D2>Synopsis: Legal intel instructions being flagged as = illegal</FONT> </P> <P><FONT SIZE=3D2>State-Changed-From-To: open->closed</FONT> <BR><FONT SIZE=3D2>State-Changed-By: zack</FONT> <BR><FONT SIZE=3D2>State-Changed-When: Tue Oct 22 13:20:42 2002</FONT> <BR><FONT SIZE=3D2>State-Changed-Why:</FONT> <BR><FONT SIZE=3D2> GCC does not attempt to interpret = the text of an asm() statement, beyond processing %-substitutions for = operands. The error message you quoted came from the = assembler.</FONT></P> <P><FONT SIZE=3D2> </FONT> <BR><FONT SIZE=3D2> The instruction mnemonics = "pushfd" and "popfd" are valid only in Intel = syntax. In its default mode, GAS uses AT&T syntax, in which = these opcodes are spelled "pushf" and "popf" = respectively. You can either change your code to use these, or = (with sufficiently recent versions of GCC and GAS) you can use the = -masm=3Dintel command line switch.</FONT></P> <P><FONT SIZE=3D2><A = HREF=3D"http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=3Dview%20audit-trail&= database=3Dgcc&pr=3D8311" = TARGET=3D"_blank">http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=3Dview%20au= dit-trail&database=3Dgcc&pr=3D8311</A></FONT> </P> </BODY> </HTML> ------_=_NextPart_001_01C27A0A.1A4709C0--
next reply other threads:[~2002-10-22 20:36 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-10-22 13:36 Tomás Palmer [this message] -- strict thread matches above, loose matches on Subject: below -- 2002-10-22 13:20 zack
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=20021022203603.14423.qmail@sources.redhat.com \ --to=tpalmer@widevine.com \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@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: linkBe 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).