8373998: RISC-V: simple optimization of ConvHF2F

Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: fyang, dzhang
This commit is contained in:
Hamlin Li 2025-12-19 09:19:46 +00:00
parent e72f205ae3
commit 5eb8774909

View File

@ -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"