This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Data Cache Zero by Virtual Address (DC ZVA) instruction

HI Everyone,

i have been trying to test whether or not DC ZVA instruction causes an L1 or L2 cache allocation on Cortex-A73.

The ARMv8-A architecture reference manual makes no statements about whether or not the DC ZVA instruction causes allocation to any particular level of the cache and the Cortex-A73 architecture reference manual too.

So i meaaured the latency of cache access and memory access first, then i measured the latency using the DC ZVA instruction. Here my code and the result:

I got the following output:

So, what do you think about it?

I am not sure if the the latency of the DC ZVA instruction is greater than cache access because the DC ZVA instruction takes more time than LDR instruction or it is performing memory access.

Thank you.

0