All of lore.kernel.org
 help / color / mirror / Atom feed
From: "S.Çağlar Onur" <caglar@pardus.org.tr>
To: Avi Kivity <avi@qumranet.com>
Cc: lkml <linux-kernel@vger.kernel.org>, kvm-devel@lists.sourceforge.net
Subject: Re: [PATCH] KVM: 'asm' operand has impossible constraints
Date: Sat, 27 Jan 2007 23:28:27 +0200	[thread overview]
Message-ID: <200701272328.31532.caglar@pardus.org.tr> (raw)
In-Reply-To: <45BB15F1.6020600@qumranet.com>

[-- Attachment #1: Type: text/plain, Size: 717 bytes --]

27 Oca 2007 Cts tarihinde, Avi Kivity şunları yazmıştı: 
> The patch looks correct, but I don't understand the gcc error message.
> Are we sure this isn't a gcc 4.2 bug?
>
> "g" appears to be equivalent to "rmi", if "i" is impossible, gcc is free
> to use "r" or "m", no?

Accorgind to GCC devs. its not a bug 
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29808), on comment #5 the 
problem described like;

"g" means "r"+"i" so the register allocator in the -O0 case is selecting "r" 
while in the optimize case is selecting "i"

-- 
S.Çağlar Onur <caglar@pardus.org.tr>
http://cekirdek.pardus.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2007-01-27 21:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-25 23:40 [PATCH] KVM: 'asm' operand has impossible constraints S.Çağlar Onur
2007-01-27  9:05 ` Avi Kivity
2007-01-27  9:05   ` Avi Kivity
2007-01-27 16:36   ` Paweł Sikora
2007-01-28  9:41     ` Avi Kivity
2007-01-28  9:41       ` Avi Kivity
2007-01-27 21:28   ` S.Çağlar Onur [this message]
2007-01-27 21:46     ` D. Hazelton
2007-01-28  7:55     ` H. Peter Anvin
2007-01-28  9:45     ` Avi Kivity
2007-01-28  9:45       ` Avi Kivity

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=200701272328.31532.caglar@pardus.org.tr \
    --to=caglar@pardus.org.tr \
    --cc=avi@qumranet.com \
    --cc=kvm-devel@lists.sourceforge.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.