@@ -3066,7 +3066,7 @@ (define_insn "riscv_zero_<mode>"
)
(define_insn "prefetch"
- [(prefetch (match_operand 0 "address_operand" "p")
+ [(prefetch (match_operand 0 "address_operand" "r")
(match_operand 1 "imm5_operand" "i")
(match_operand 2 "const_int_operand" "n"))]
"TARGET_ZICBOP"
@@ -3080,7 +3080,7 @@ (define_insn "prefetch"
})
(define_insn "riscv_prefetchi_<mode>"
- [(unspec_volatile:X [(match_operand:X 0 "address_operand" "p")
+ [(unspec_volatile:X [(match_operand:X 0 "address_operand" "r")
(match_operand:X 1 "imm5_operand" "i")]
UNSPECV_PREI)]
"TARGET_ZICBOP"