Very simple (and far from zero-cost) harness that prevents the compiler from optimizing x away. At least it doesn't require any inline asm and is relatively portable.
SourceEdit
Very simple (and far from zero-cost) harness that prevents the compiler from optimizing x away. At least it doesn't require any inline asm and is relatively portable.
SourceEdit