--- On Fri, 6/20/08, Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote:
> I though OS X had a trick with a CR bit that would disable
> the dcbz optimization on the first alignment fault ? Or did they
> totally remove it ?

Ah, it's coming back to me. :)

Apple added 'dcbz', removed it, and then there was the clever trick of 
optimizing the code path with a boot-time perf test and/or changing the code on 
the first fault...I'm not sure what's implemented in the recent builds.

If Linux can do something similar, that should allow good perf on cacheable and 
cache-inhibited space as well as different CPUs (eg, if 'dcba' is available, 
then you don't need the alignment fault hack).

--Sanjay


      
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to