This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Reserve upper bits of memory model for future use


On Tue, Feb 14, 2012 at 11:23:58AM -0500, Andrew MacLeod wrote:
> This patch just modifies the documention to indicate that the upper
> bits of the memory model parameter are reserved for future use.
> (We're already looking at using it for HLE hints)
> 
> I've already made a change on the wiki page.
> 
> Ok for mainline?

Looks good to me, but would like Richard to chime in too.

BTW, I wonder if we shouldn't error out on
int
foo (int *p)
{
  return __atomic_fetch_add (p, 4, __ATOMIC_SEQ_CST | 0x123400);
}
(currently we just warn).

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]