[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45BC6FDC.5050208@qumranet.com>
Date: Sun, 28 Jan 2007 11:41:48 +0200
From: Avi Kivity <avi@...ranet.com>
To: Paweł Sikora <pluto@...k.net>
CC: linux-kernel@...r.kernel.org, caglar@...dus.org.tr,
kvm-devel@...ts.sourceforge.net
Subject: Re: [PATCH] KVM: 'asm' operand has impossible constraints
Paweł Sikora wrote:
> On Saturday 27 of January 2007 10:05:53 Avi Kivity wrote:
>
>
>> "g" appears to be equivalent to "rmi", if "i" is impossible, gcc is free
>> to use "r" or "m", no?
>>
>
> `r'
> A register operand is allowed provided that it is in a general
> register.
> `g'
> Any register, memory or immediate integer operand is allowed,
> except for registers that are not general registers.
>
> so, it looks like g == !r for registers ( not general vs. general regs ).
>
I read it as g == !!r for registers ("except" and "not" constitute a
double negative).
--
error compiling committee.c: too many arguments to function
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists