[PATCH] ARM: allow inline atomics on Cortex M

Jonathan Roelofs jonathan at codesourcery.com
Tue Jun 17 09:55:47 PDT 2014



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
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded



More information about the cfe-commits mailing list