Page 1 of 1

asm constraints

Posted: Sun Feb 26, 2012 4:04 pm
by segher
Hi,

Is there a list somewhere of the various supported asm constraints in
the C compiler, and what they mean? Or do I have to read the LLVM
code (was trying to avoid that :-) ).

I'm most directly interested in the various integer constraints, for
u_s, u_6, u_16 etc.: "i" (or "ri") works for now, but that will blow up if
an immediate goes out of range for the instruction.