public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Jian-Xin Lai <laijx03@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: wrong constraints "=g" at include/asm-i386/string.h, line 186?
Date: Thu, 26 Jul 2007 21:32:37 -0700	[thread overview]
Message-ID: <46A97565.6070409@zytor.com> (raw)
In-Reply-To: <824323160707261945n2e625beal486c7b1cfe91e01c@mail.gmail.com>

Jian-Xin Lai wrote:
> But as we know, the kerword 'register' is only a suggestion. The
> language specification does not force to put the 'register' variable
> into a register.
> Putting the variable onto stack does not violate anything, but the
> assembler will fail.
> I think the hack does not really work. THX.

Well, gcc is a bit more strict than that, but it's ugly and should be fixed.

	-hpa

      reply	other threads:[~2007-07-27  4:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-26 11:58 wrong constraints "=g" at include/asm-i386/string.h, line 186? Jian-Xin Lai
2007-07-26 15:21 ` H. Peter Anvin
2007-07-27  2:45   ` Jian-Xin Lai
2007-07-27  4:32     ` H. Peter Anvin [this message]

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=46A97565.6070409@zytor.com \
    --to=hpa@zytor.com \
    --cc=laijx03@gmail.com \
    --cc=linux-kernel@vger.kernel.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