Skip to contentSkip to conversation

dcbst instruction

DISCUSSION Rabeeh Khoury 3 participants 3 messages Aug 11, 2003 – Aug 12, 2003

lore
Share & tools
lore
#0 lore raw

Hi All,

I have a question about the PowerPC cache line clean dcbst instruction. Is this instruction used at all in Linux ?
If used, where ? kernel ? libc ? special builds of user space applications ?

Thanks,
Rabeeh

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

#1 lore raw
Quoted 7 lines · Rabeeh Khoury

Hi All,

I have a question about the PowerPC cache line clean dcbst instruction. Is this instruction used at all in Linux ?
If used, where ? kernel ? libc ? special builds of user space applications ?

It is used in glibc. I have not seen off the shelf applications using it, but I wouldn't be surprised if highly optimized apps did attempt to use it.

As for the kernel, I would assume it's being used.. but a simple grep should tell you if it is.

--Mark

Quoted 7 lines

Thanks,
Rabeeh

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

#2 lore raw
In reply to Rabeeh Khoury
Quoted 3 lines · Rabeeh Khoury

I have a question about the PowerPC cache line clean dcbst instruction. Is this instruction used at all in Linux ?
If used, where ? kernel ? libc ? special builds of user space applications ?

It's used in the kernel and in every program that uses shared libraries. I would expect that applications such as Java JIT compilers would use it too.

Paul.

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