On Thu, Mar 08, 2012 at 07:04:03AM -0800, H.J. Lu wrote: > > I don't think, we need to change FE for that... > > Please note that __ATOMIC_HLE_XACQUIRE has nothing to do with > __ATOMIC_ACQUIRE. You can have > > __ATOMIC_ACQUIRE | __ATOMIC_HLE_XRELEASE
Yeah. And you don't need to change the FEs in any way, all that is needed is to change the middle-end/expansion (builtins.c - e.g. get_memmodel) and the backend (plus predefine the macros in the backend). Jakub