[RFC] Fix full memory barrier on SPARC-V8

Eric Botcazou ebotcazou@adacore.com
Wed Jun 29 08:08:00 GMT 2011


> Linux doesn't ever run the cpu in the RMO memory model any more.  All
> sparc64 chips run only in TSO now.
>
> All of the Niagara chips implement an even stricter than TSO memory
> model, and the membars we used to have all over the kernel to handle
> that properly were just wasted I-cache space.  So I just moved
> unilaterally to TSO everywhere and killed off the membars necessitated
> by RMO.

OK, thanks for the clarification.  That's also fine from GCC's viewpoint.

-- 
Eric Botcazou



More information about the Gcc-patches mailing list