[PATCH] ARM: allow inline atomics on Cortex M
Renato Golin
renato.golin at linaro.org
Tue Jun 17 01:11:25 PDT 2014
On 16 June 2014 23:59, Jonathan Roelofs <jonathan at codesourcery.com> wrote:
> if ( windows ) return true;
> else if ( arch >= v6 ) {
> version = whatever;
> } else if ( !linux && !freebsd && !netbsd && !bitrig ) {
> return false;
> }
>
> if ( Profile == "M" && MaxAtomicInlineWidth) {
> MaxAtomicPromoteWidth = 32;
> MaxAtomicInlineWidth = 32;
> }
> return true;
This sequence sounds correct to me, too.
cheers,
-renato
More information about the cfe-commits
mailing list