Re: Assembly constraints - offset?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Avi Kivity <avi@xxxxxxxxxxxx> writes:

> Avi Kivity wrote:
> >>
> >> Using %[member1]c should work.
> >>
> >
> > Where exactly?
> >
> > In the instruction section ("mov $1, %[member]c(%[base])") the 'c'
> > is emitted unchanged.
> >
> > In the constraint section ([member1]"c"(...)) 'c' means the ecx or
> > rcx register.
> 
> It's %c[member] in the instruction section.

Hmmm, yeah, sorry.

> I could not find any documentation of this in the user's manual.  Is
> it new glasses time or shall I file a PR?

I suspect that it is undocumented in the user manual.  It is
documented in the internals manual.  I think a PR or a patch would be
appropriate (I haven't checked to see whether there already is one).

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux