[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200701272328.31532.caglar@pardus.org.tr>
Date: Sat, 27 Jan 2007 23:28:27 +0200
From: "S.Çağlar Onur" <caglar@...dus.org.tr>
To: Avi Kivity <avi@...ranet.com>
Cc: lkml <linux-kernel@...r.kernel.org>,
kvm-devel@...ts.sourceforge.net
Subject: Re: [PATCH] KVM: 'asm' operand has impossible constraints
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@...dus.org.tr>
http://cekirdek.pardus.org.tr/~caglar/
Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists