On 6/17/14, 10:20 AM, Tim Northover wrote:
The original code before Phoebe's patch almost gets that right, but is a
little too conservative in the baremetal cases on both M-class cpus and non
M-class cpus.

It looks like the overwhelming majority of platforms *do* use the
standard ldrex/strex loops, so I think we should be changing the
default: let any platform with a weird kernel opt itself out of inline
atomics.
Sounds reasonable to me :)

Cheers.

Tim.


--
Jon Roelofs
[email protected]
CodeSourcery / Mentor Embedded
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to