[PATCH]: Fix GLX crashes on RISC cpus.

David Miller davem at davemloft.net
Thu Dec 27 00:43:00 PST 2007


From: Xavier Bestel <xavier.bestel at free.fr>
Date: Thu, 27 Dec 2007 09:35:45 +0100

> Le jeudi 27 décembre 2007 à 07:43 +0000, Daniel Stone a écrit :
> > This is the wrong approach for modular; instead of hardcoding a list of
> > CPUs that throw errors on unaligned accesses, you could just check
> > whether or not unaligned accesses work.
> 
> Beware, not all archs generate a trap on unaligned access. Some have
> weird (uncorrectable) failure modes.

Yes, I believe some ARM variants are like this, they just randomly
crap into the memory location or destination register.



More information about the xorg mailing list