On Tue, Dec 22 2009, Paul Mundt wrote:
> On Tue, Dec 22, 2009 at 05:47:46AM +0900, Nobuhiro Iwamatsu wrote:
> > +#define nop             __asm__ __volatile__ ("nop": : :"memory")
> > +#define read_barrier()  __asm__ __volatile__ (" " : : : "memory")
> > +#define write_barrier() __asm__ __volatile__ (" " : : : "memory")
> 
> This is true for SH-4, but not for SH-4A, which wants a synco for these.
> See how the kernel does it.
> 
> The sooner we stop pretending like SH-4A and SH-4 are the same thing the
> sooner we stop introducing subtle bugs all over the place.

Does sh-a4 support the synco instruction, or will it sigill?

-- 
Jens Axboe




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to