AlexandreFressange via llvm-dev
2015-Nov-18 18:47 UTC
[llvm-dev] Meaning of IR inline assembly
Thanks, but I could not find the imr, dirflag, fpsr constraints here. Just the usual gcc/clang inline assembly constraints. Those one were of my concern, actually :) -- Alex 18.11.2015, 17:11, "David Siegel" <agnat at icloud.com>:>> On 18.11.2015, at 16:28, AlexandreFressange via llvm-dev <llvm-dev at lists.llvm.org> wrote: >> >> I reduced the above code to the offending line containing: "imr,~{dirflag},~{fpsr},~{flags}". >> >> How should I interpret this? I found no resource on this over the net. Maybe there are more options like that? >> Do you have a link explaining this more in details? > > It’s called a constraint string and it is documented here: > > http://llvm.org/docs/LangRef.html#inline-asm-constraint-string > > Cheers, > > d > >> thanks a lot. >> -- >> Alex >> _______________________________________________ >> LLVM Developers mailing list >> llvm-dev at lists.llvm.org >> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
Krzysztof Parzyszek via llvm-dev
2015-Nov-18 19:47 UTC
[llvm-dev] Meaning of IR inline assembly
On 11/18/2015 12:47 PM, AlexandreFressange via llvm-dev wrote:> Thanks, but I could not find the imr, dirflag, fpsr constraints here. Just the usual gcc/clang inline assembly constraints. > Those one were of my concern, actually :)Those are register names. -Krzysztof -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
Krzysztof Parzyszek via llvm-dev
2015-Nov-18 19:50 UTC
[llvm-dev] Meaning of IR inline assembly
On 11/18/2015 1:47 PM, Krzysztof Parzyszek via llvm-dev wrote:> On 11/18/2015 12:47 PM, AlexandreFressange via llvm-dev wrote: >> Thanks, but I could not find the imr, dirflag, fpsr constraints here. >> Just the usual gcc/clang inline assembly constraints. >> Those one were of my concern, actually :) > > Those are register names.The names in {} are register names. The "imr" is explained here: http://llvm.org/docs/LangRef.html#supported-constraint-code-list -K -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation