asm constraints

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
User avatar
XCore Expert
Posts: 843
Joined: Sun Jul 11, 2010 1:31 am

asm constraints

Postby segher » Sun Feb 26, 2012 4:04 pm


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.

Return to “Development Tools and Programming”

Who is online

Users browsing this forum: No registered users and 10 guests