Messages in this thread | | | Date | Thu, 19 May 2016 13:33:29 +0200 | From | Peter Zijlstra <> | Subject | Re: [RFC PATCH 03/15] Provide atomic_t functions implemented with ISO-C++11 atomics |
| |
On Thu, May 19, 2016 at 01:31:16PM +0200, Peter Zijlstra wrote: > Where the __special_marker__ marks the whole { } scope as being the > inside of LL/SC and all variables must be in registers before we start. > If the compiler is not able to guarantee this, it must generate a > compile time error etc..
And note that all LL/SC archs I've checked have very similar constraints on what can go inside them. And simply taking the most constrained across the board will work fine.
| |