From 5eb8774909bd250c7ff8cfc56506a949b547bda2 Mon Sep 17 00:00:00 2001 From: Hamlin Li Date: Fri, 19 Dec 2025 09:19:46 +0000 Subject: [PATCH] 8373998: RISC-V: simple optimization of ConvHF2F Co-authored-by: Fei Yang Reviewed-by: fyang, dzhang --- src/hotspot/cpu/riscv/riscv.ad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/cpu/riscv/riscv.ad b/src/hotspot/cpu/riscv/riscv.ad index 96984ba9a42..730dd68dd88 100644 --- a/src/hotspot/cpu/riscv/riscv.ad +++ b/src/hotspot/cpu/riscv/riscv.ad @@ -8542,7 +8542,7 @@ instruct convD2F_reg(fRegF dst, fRegD src) %{ // single <-> half precision -instruct convHF2F_reg_reg(fRegF dst, iRegINoSp src, iRegINoSp tmp) %{ +instruct convHF2F_reg_reg(fRegF dst, iRegIorL2I src, iRegINoSp tmp) %{ match(Set dst (ConvHF2F src)); effect(TEMP tmp); format %{ "fmv.h.x $dst, $src\t# move source from $src to $dst\n\t"