public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "normvcr at telus dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/48347] The wrong assembler code is emitted for my architecture
Date: Wed, 30 Mar 2011 19:41:00 -0000 [thread overview]
Message-ID: <bug-48347-4-oLW0uowryg@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-48347-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48347
--- Comment #4 from Norman Goldstein <normvcr at telus dot net> 2011-03-30 19:35:48 UTC ---
(In reply to comment #3)
> I'm sure that sete doesn't work with any general operand. Use proper
> constraints.
You are right. sete must operate on an 8-bit register or an 8-bit memory
location. GCC knows that the reference is to an 8-bit unsigned char, and GCC
does the right thing under the "-g -O2" flags, so why not under the "-g" flag?
I was not able to find a way to change the "=g" constraint to force GCC to use
an 8-bit register/memory location.
next prev parent reply other threads:[~2011-03-30 19:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-30 0:17 [Bug inline-asm/48347] New: " normvcr at telus dot net
2011-03-30 0:50 ` [Bug inline-asm/48347] " normvcr at telus dot net
2011-03-30 1:26 ` normvcr at telus dot net
2011-03-30 9:26 ` rguenth at gcc dot gnu.org
2011-03-30 19:41 ` normvcr at telus dot net [this message]
2011-03-30 19:50 ` pinskia at gcc dot gnu.org
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=bug-48347-4-oLW0uowryg@http.gcc.gnu.org/bugzilla/ \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@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).