On Fri, Oct 11, 2013 at 10:17:41AM +0200, Richard Biener wrote: > asm(".alias __sync_synchronize sync_synchronize");
It is .set, but not everywhere. /* The MIPS assembler has different syntax for .set. We set it to .dummy to trap any errors. */ #undef SET_ASM_OP #define SET_ASM_OP "\t.dummy\t" But perhaps it would require fewer variants than providing inline asm of the __sync_* builtin by hand for all the targets that need it. Jakub