asm volatile statement reordering
Andrew Haley
aph@redhat.com
Tue Oct 17 12:06:00 GMT 2017
On 17/10/17 13:03, David Brown wrote:
> It would be marvellous to be able to mark a statement, block, function,
> function call, etc., as "volatile", meaning "do not re-order with
> respect to other volatile statements, memory accesses or volatile asm
> statements".
You can achieve that with memory clobbers.
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the Gcc-help
mailing list