[LLVMdev] Problems with 64-bit register operands of inline asm on ARM
grosbach at apple.com
Wed Mar 13 11:04:27 PDT 2013
On Mar 13, 2013, at 11:01 AM, Renato Golin <renato.golin at linaro.org> wrote:
> On 13 March 2013 17:57, Jim Grosbach <grosbach at apple.com> wrote:
>> It seems to me that LLVM doesn’t parse the inline asm body. It just checks the constraints, (ie. Input/output interface). During ASM writing, it then binding those constraints to placeholders like %0, %1.
> This is correct.
> Ok, so maybe checking all possible ways to require paired registers is not such a bad idea after all.
The constraints are the right way to do it. There shouldn't be any magic beyond that.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev