diff options
author | Kito Cheng <kito.cheng@sifive.com> | 2023-02-20 21:47:01 +0800 |
---|---|---|
committer | Kito Cheng <kito.cheng@sifive.com> | 2023-02-20 23:26:28 +0800 |
commit | b943d5771e1cdaba3004c4ca692ffa9e1a094f8d (patch) | |
tree | 9056af6899ae2c588adb56ee8c0d2eb87e8fe728 /gcc/gensupport.h | |
parent | 02d8ab3e4e2f3d9dc12157a98c976d6698e71e29 (diff) | |
download | gcc-b943d5771e1cdaba3004c4ca692ffa9e1a094f8d.zip gcc-b943d5771e1cdaba3004c4ca692ffa9e1a094f8d.tar.gz gcc-b943d5771e1cdaba3004c4ca692ffa9e1a094f8d.tar.bz2 |
RISC-V: prefetch.* only take base register with zero-offset for the address
Catched by running gcc.c-torture/execute/builtin-prefetch-2.c with
-march=rv64gc_zicbop.
gcc/ChangeLog:
* config/riscv/riscv.md (prefetch): Use r instead of p for the
address operand.
(riscv_prefetchi_<mode>): Ditto.
Diffstat (limited to 'gcc/gensupport.h')
0 files changed, 0 insertions, 0 deletions