How is correct alignment guaranteed? would I have to do something like this on windows:mystran wrote: The one thing you can generally rely though, is that loads/stores of a properly aligned variable (of 32-bits) tagged with "volatile" are predictable in the sense that loads/stores are always done exactly once from/to memory
Code: Select all
__declspec(align(32)) volatile float gain;
Cheers,
Matt