dc* (Data Cache) instructions in mem*() and *_page() functions not used on 8xx

Dan Malek dan at embeddededge.com
Wed Oct 30 02:27:53 EST 2002


Joakim Tjernlund wrote:

>>I found that on 8xx these are not used. Why? Are there 8xx variants that can't handle them?
>>Do 860 work with these?

The TLB/Exception side effects of using these instructions in the 8xx varied
with different silicon versions.  Rather than have a bunch of unique code for
different silicon revisions (and in some cases the side effects didn't occur
at all so the instructions couldn't be used) it is just easier to not use the
instructions.  Any performance gained by using these instructions was lost
in the special exception handling.

>>Also, why is not dcbtst(write a cache line) used

Because dcbtst performs a load operation on a line you know is going to
replaced.  That generates unnecessary bus traffic and is why the dcbz is
used instead.


	-- Dan


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list