Displaying 2 results from an estimated 2 matches for "named_label_1".
Did you mean:
named_label_
2017 Feb 05
2
clang/llvm support for %= in inline assembly
....size foo, .Lfunc_end0-foo
.globl bar
.p2align 4, 0x90
.type bar, at function
bar: # @bar
# BB#0: # %entry
pushl %ebp
movl %esp, %ebp
#APP
named_label_1:
jne named_label_1
#NO_APP
popl %ebp
retl
.Lfunc_end1:
.size bar, .Lfunc_end1-bar
This is with clang 4.0.0 from the release_40 branch. I have no idea when the %= support was added.
-Dimitry
> On 05 Feb 2017, at 10:50, Sean Silva v...
2017 Feb 05
2
clang/llvm support for %= in inline assembly
from https://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