r268181 - in /trunk/gcc: ChangeLog config/arc/a...

claziss@gcc.gnu.org claziss@gcc.gnu.org
Wed Jan 23 11:04:00 GMT 2019


Author: claziss
Date: Wed Jan 23 11:04:19 2019
New Revision: 268181

URL: https://gcc.gnu.org/viewcvs?rev=268181&root=gcc&view=rev
Log:
[ARC] atomics: Add operand to DMB instruction

Atomics use DMB instruction to enforce ordering of loads/stores.
Currently gcc generates DMB w/o any arg which is a no-op. Fix that by
generating DMB 3 which enforces R+W ordering. It is stricter than what
acq/rel expect, but there's no other way.

gcc/

2019-xx-xx  Vineet Gupta <vgupta@synopsys.com>

       * config/arc/atomic.md: Add operand to DMB instruction

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arc/atomic.md



More information about the Gcc-cvs mailing list