On 1/20/19 8:19 AM, Claudiu Zissulescu wrote:
> Hi,
>> 2019-01-18 Vineet Gupta
>>
>>* config/arc/atomic.md: Add operand to DMB instruction
>>
> This is ok. I'll push it asap,
> Claudiu
Thx, I see it merged into mainline. Can you please backport this to gcc-8-branch
as well ?
Thx,
-Vinee
Hi,
>
> 2019-01-18 Vineet Gupta
>
>* config/arc/atomic.md: Add operand to DMB instruction
>
This is ok. I'll push it asap,
Claudiu
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-01-18 Vineet Gupta
* config/a