From: Avi Kivity <avi@qumranet.com>
To: "Paweł Sikora" <pluto@agmk.net>
Cc: linux-kernel@vger.kernel.org, caglar@pardus.org.tr,
kvm-devel@lists.sourceforge.net
Subject: Re: [PATCH] KVM: 'asm' operand has impossible constraints
Date: Sun, 28 Jan 2007 11:41:48 +0200 [thread overview]
Message-ID: <45BC6FDC.5050208@qumranet.com> (raw)
In-Reply-To: <200701271736.30271.pluto@agmk.net>
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
WARNING: multiple messages have this Message-ID (diff)
From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: "Paweł Sikora" <pluto-PIIpFW8S9c0@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
caglar-caicS1wCkhO6A22drWdTBw@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] KVM: 'asm' operand has impossible constraints
Date: Sun, 28 Jan 2007 11:41:48 +0200 [thread overview]
Message-ID: <45BC6FDC.5050208@qumranet.com> (raw)
In-Reply-To: <200701271736.30271.pluto-PIIpFW8S9c0@public.gmane.org>
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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel
next prev parent reply other threads:[~2007-01-28 9:41 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 [this message]
2007-01-28 9:41 ` Avi Kivity
2007-01-27 21:28 ` S.Çağlar Onur
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=45BC6FDC.5050208@qumranet.com \
--to=avi@qumranet.com \
--cc=caglar@pardus.org.tr \
--cc=kvm-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=pluto@agmk.net \
/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.