public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: dewar@gnat.com (Robert Dewar)
To: ja_walker@earthlink.net, mstump@apple.com
Cc: gcc@gcc.gnu.org
Subject: Re: Sythetic registers: modrm/gas question.
Date: Tue, 07 Jan 2003 03:13:00 -0000	[thread overview]
Message-ID: <20030107031138.29E12F2940@nile.gnat.com> (raw)

> You will want to learn how to ask GAS these questions.  Hint, type in 
> the assembly, run as foo.s, and then objdump (maybe -d) the result.  
> This is faster and generally more accurate than asking us.

Actually, I disagree with this. An experiment like this can only tell you
that in a particular situation, GAS does a particular thing. An experiment
cannot tell you the general rules, and the generated code must rely on
these rules, which need to be clearly stated. In fact I don't know whether
there are clearly stated rules for GAS, though in this particular case it
is obvious that GAS must minimize offsets, since if it did not, that would
have the status of being a clear bug.

             reply	other threads:[~2003-01-07  3:11 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-07  3:13 Robert Dewar [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-01-05 18:13 Robert Dewar
2003-01-05 20:15 ` Michael S. Zick
2003-01-05 14:24 Robert Dewar
2003-01-05 16:56 ` Michael S. Zick
2003-01-05 17:37   ` Michael S. Zick
2003-01-05 22:33 ` Tom Lord
2003-01-05 13:25 Robert Dewar
2003-01-06  5:36 ` Andy Walker
2003-01-06 19:42 ` Tom Lord
2003-01-05 12:28 Robert Dewar
2003-01-06  5:04 ` Andy Walker
2003-01-06 19:47 ` Tom Lord
2003-01-05  6:08 Andy Walker
2003-01-06 23:54 ` Mike Stump
2003-01-07  6:15   ` Andy Walker

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=20030107031138.29E12F2940@nile.gnat.com \
    --to=dewar@gnat.com \
    --cc=gcc@gcc.gnu.org \
    --cc=ja_walker@earthlink.net \
    --cc=mstump@apple.com \
    /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).