Skip to content

Instantly share code, notes, and snippets.

Last active Mar 7, 2017
What would you like to do?
clobber: force code generation for benchmarking
// gcc -O3 -S -masm=intel -fverbose-asm test.c
// (code : out : in : clobber)
asm volatile ("" :: "g"(&a) : "memory");
// see also:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment