This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: %dil in x86 inline asm


* Phil Endecott:

> I've found bug 10153 and its duplicates which seem to be describing 
> essentially the same thing, but say that the input is invalid because it 
> uses "r" rather than "q".  I don't know enough about x86 to understand 
> this; presumably only certain registers can be used with this 
> instruction, or something.
>

The "q" registers form a proper subset of the "r" registers, precisely
those for which your assembler statement seems valid (the "a", 'b",
"c", "d" registers).

Questions of this kind sould be sent to the gcc-help mailing list.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]