asm constraints

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
User avatar
segher
XCore Expert
Posts: 844
Joined: Sun Jul 11, 2010 1:31 am
Contact:

asm constraints

Post 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.


Post Reply