Re: [PATCH] selftests/powerpc: Fix compilation issue due to asm label

2018-10-31 Thread Breno Leitao
hi Naveen, On 10/31/18 2:24 PM, Naveen N. Rao wrote: > Naveen N. Rao wrote: >> We are using 'dscr_insn' as a label in inline asm to identify if a >> SIGILL was generated by the mtspr instruction at that point. However, >> with inline assembly, the compiler is still free to duplicate the asm >>

Re: [PATCH] selftests/powerpc: Fix compilation issue due to asm label

2018-10-31 Thread Naveen N. Rao
Naveen N. Rao wrote: We are using 'dscr_insn' as a label in inline asm to identify if a SIGILL was generated by the mtspr instruction at that point. However, with inline assembly, the compiler is still free to duplicate the asm statement for optimization purposes, which results in the label

[PATCH] selftests/powerpc: Fix compilation issue due to asm label

2018-10-31 Thread Naveen N. Rao
We are using 'dscr_insn' as a label in inline asm to identify if a SIGILL was generated by the mtspr instruction at that point. However, with inline assembly, the compiler is still free to duplicate the asm statement for optimization purposes, which results in the label being defined twice with