Surprising new feature in AMD Ryzen 3000

News and research about CPU microarchitecture and software optimization
alaodudonyl
Posts: 1
Joined: 2021-07-01, 15:19:23

Re: Surprising new feature in AMD Ryzen 3000

Post by alaodudonyl » 2021-07-01, 15:28:08

Could this effectively be used by the compiler to force the cpu to ensure an address is in cache by the time a final store comes about?

For example;

if you intentionally use the destination address as temporary storage (even if unnecessary),

does it begin fetching the address on first reference,

or will the address be brought into L1 only when the core sees a need to write back to cache
(perhaps on a final store in the sequence that can be mirrored)?

agner
Site Admin
Posts: 75
Joined: 2019-12-27, 18:56:25
Contact:

Re: Surprising new feature in AMD Ryzen 3000

Post by agner » 2021-07-01, 18:05:17

No. It is using temporary registers inside the CPU. It is not using the cache.

Post Reply