> Unless Kito feels otherwise I would suggest keeping a distinct API
> interface for each case.
Yeah, I think they should have a distinct API.
On 10/23/23 01:22, Tsukasa OI wrote:
From: Tsukasa OI
Because they are for all prefetch instructions, "prefetch" fits better
than "prefetchi".
But there's a significant difference between the cases. prefetch.i in
particular fetches into the icache. While prefetch.r and prefetch.w
would
From: Tsukasa OI
Because they are for all prefetch instructions, "prefetch" fits better
than "prefetchi".
gcc/ChangeLog:
* config/riscv/riscv-builtins.cc: Rename availabilities
"prefetchi{32,64}" to "prefetch{32,64}".
* config/riscv/riscv-cmo.def
(__builtin_riscv