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]

Re: Feature request: ability to describe x86 register halves as contraints.



On Tue, 30 Jun 1998 ak@muc.de wrote:

> > 	asm ("# %0 %b0 %h0 %w0 %k0" : : "q"(x));
> > 
> > yields
> > 
> > 	# %eax %al %ah %ax %eax
> 
> Ok, I feel stupid now, but to my defense I must say that this is not 
> documented in the info pages.

Yes, you have to dig into i386.md

Colin Plumb <colin@nyx.net> wrote a really good, tutorial style,
description of x86 constraints.  If you ask him, I guess he'd be happy to
send it to you.  His tutorial really ought to be part of egcs
documentation.



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