riscv / riscv-CMOs

https://jira.riscv.org/browse/RVG-59
Creative Commons Attribution 4.0 International
76 stars 12 forks source link

Does the prefetch.r instruction support specific cache levels? #63

Closed Kepontry closed 1 year ago

Kepontry commented 1 year ago

Prefetch instructions in X86 isa, such as prefetcht0, support prefetching the data into specific cache levels. Does the prefetch.r instruction in RISC-V support similar functions?

ved-rivos commented 1 year ago

Please see - https://github.com/riscv/riscv-isa-manual/blob/main/src/zihintntl.adoc regards ved

On Sun, Jun 25, 2023 at 10:08 AM Jiapeng Zhou @.***> wrote:

Prefetch instructions in X86 isa, such as prefetcht0, support prefetching the data into specific cache levels. Does the prefetch.r instruction in RISC-V support similar functions?

— Reply to this email directly, view it on GitHub https://github.com/riscv/riscv-CMOs/issues/63, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV5ERGYUNB37KAOXXS4PN63XNBH5LANCNFSM6AAAAAAZTGPSJM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Kepontry commented 1 year ago

Thanks a lot.