Displaying 2 results from an estimated 2 matches for "assemblertemplate".
2017 Feb 05
2
clang/llvm support for %= in inline assembly
...cc.gnu.org/onlinedocs/gcc/Extended-Asm.html
Under certain circumstances, GCC may duplicate (or remove duplicates of)
> your assembly code when optimizing. This can lead to unexpected duplicate
> symbol errors during compilation if your asm code defines symbols or
> labels. Using ‘%=’ (see AssemblerTemplate) may help resolve this problem.
‘%=’
> Outputs a number that is unique to each instance of the asm statement in
> the entire compilation. This option is useful when creating local labels
> and referring to them multiple times in a single template that generates
> multiple assembler in...
2017 Feb 05
2
clang/llvm support for %= in inline assembly
...s://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html
>
> Under certain circumstances, GCC may duplicate (or remove duplicates of) your assembly code when optimizing. This can lead to unexpected duplicate symbol errors during compilation if your asm code defines symbols or labels. Using ‘%=’ (see AssemblerTemplate) may help resolve this problem.
>
> ‘%=’
> Outputs a number that is unique to each instance of the asm statement in the entire compilation. This option is useful when creating local labels and referring to them multiple times in a single template that generates multiple assembler instruct...