basic asm and memory clobbers - Proposed solution
Paul_Koning@Dell.com
Paul_Koning@Dell.com
Sat Nov 28 18:30:00 GMT 2015
> On Nov 28, 2015, at 2:02 AM, Bernd Edlinger <bernd.edlinger@hotmail.de> wrote:
>
> ...
> Well, I start to think that Jeff is right, and we should treat a asm ("") as if it
> were asm volatile ("" ::: ) but if the asm ("nonempty with optional %") we should
> treat it as asm volatile ("nonempty with optional %%" ::: "memory").
I agree. Even if that goes beyond the letter of what the manual has promised before, it is the cautious answer, and it matches expectations of a lot of existing code.
paul
More information about the Gcc
mailing list