diff --git a/src/hotspot/cpu/riscv/riscv.ad b/src/hotspot/cpu/riscv/riscv.ad index 4ca9328fbf3..91b5c8c8b67 100644 --- a/src/hotspot/cpu/riscv/riscv.ad +++ b/src/hotspot/cpu/riscv/riscv.ad @@ -3208,6 +3208,7 @@ operand iRegP() match(RegP); match(iRegPNoSp); match(iRegP_R10); + match(iRegP_R15); match(javaThread_RegP); op_cost(0); format %{ %}