3 ms·
One can just write the loop as for (..; ..; ..) asm(""); GCC doesn't introspect the asm statements, and so it leaves the loop there. (At least, it did for m
by dbaupp 14y ago
One can just write the loop as
for (..; ..; ..) asm("");
GCC doesn't introspect the asm statements, and so it leaves the loop there. (At least, it did for me, even with -O3.)