MIPS mem_barrier

2010-02-04 Thread rixed
In compiler.h, is defined mem_barrier() which is used if I understand correctly when accessing the memory mapped IO, to force the CPU to ensure previous writes/reads are commited to the bus before the following ones (gcc being independantly informed to keep the source code reads/writes ordering by

Re: MIPS mem_barrier

2010-02-04 Thread Matt Turner
On Thu, Feb 4, 2010 at 2:57 PM, ri...@happyleptic.org wrote: In compiler.h, is defined mem_barrier() which is used if I understand correctly when accessing the memory mapped IO, to force the CPU to ensure previous writes/reads are commited to the bus before the following ones (gcc being

Re: MIPS mem_barrier

2010-02-04 Thread rixed
You must be looking at old source code. I changed this code in commit 52aa0495218d to use the sync instruction you mention. Arg, I'm working on xserver 1.6.5 and forget to check on git. Sorry for the noise. ___ xorg mailing list