[cfe-dev] Inline assembly Z constraint and more
Chris Lattner
clattner at apple.com
Fri Apr 16 16:38:46 PDT 2010
On Apr 16, 2010, at 3:53 PM, John Thompson wrote:
> Using Clang to compile some PS3 headers, I ran into a problem with some inline assembly for some instrinsics macros with an unrecognized "Z" constraint. Looking at the gcc sources, I see there are several other constraints not currently supported. The enclosed macro lets them get through the parser, but at present I have no idea how to actually implement them, so before I look into it more, I thought I'd ask. Can someone help me out?
>
> This from the gcc sources:
>
> (define_memory_constraint "Z"
> "Memory operand that is an indexed or indirect from a register (it is
> usually better to use @samp{m} or @samp{es} in @code{asm} statements)"
> (match_operand 0 "indexed_or_indirect_operand"))
> Is it okay to check in the patch as an intermediate step?
>
it Z a target independent or target-specific constraint? You have some unrelated changes in your diff.
-Chris
More information about the cfe-dev
mailing list