This is the mail archive of the gcc-patches@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: libffi for ARM


On Tuesday 03 July 2007, Mike Stump wrote:
> On Jul 3, 2007, at 10:02 AM, Daniel Jacobowitz wrote:
> > Their declarations force them into particular registers; there's no
> > constraints for the specific registers we need.
>
> I think that it would be reasonable to document that this is an
> appropriate and reasonable thing to do, and it's guaranteed to work,
> if it doesn't already say that...  with that as a feature, I don't
> think we need another feature that does something similar.

You mean like we already do in extend.texi:

"Sometimes you need to make an @code{asm} operand be a specific register,
but there's no matching constraint letter for that register @emph{by
itself}.  To force the operand into that register, use a local variable
for the operand and specify the register in the variable declaration.
@xref{Explicit Reg Vars}."

Paul


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