Skip to content

Commit 2db20ce

Browse files
author
duke
committed
Backport 79880e56375a1c17ec6ad29bb0ab01868bc956ff
1 parent d8d055e commit 2db20ce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2201,7 +2201,7 @@ void C2_MacroAssembler::float16_to_float(FloatRegister dst, Register src, Regist
22012201
mv(t0, 0x7c00);
22022202
andr(tmp, src, t0);
22032203
// jump to stub processing NaN and Inf cases.
2204-
beq(t0, tmp, stub->entry());
2204+
beq(t0, tmp, stub->entry(), true);
22052205

22062206
// non-NaN or non-Inf cases, just use built-in instructions.
22072207
fmv_h_x(dst, src);
@@ -2244,7 +2244,7 @@ void C2_MacroAssembler::float_to_float16(Register dst, FloatRegister src, FloatR
22442244
// replace fclass with feq as performance optimization.
22452245
feq_s(t0, src, src);
22462246
// jump to stub processing NaN cases.
2247-
beqz(t0, stub->entry());
2247+
beqz(t0, stub->entry(), true);
22482248

22492249
// non-NaN cases, just use built-in instructions.
22502250
fcvt_h_s(ftmp, src);
@@ -2305,7 +2305,7 @@ void C2_MacroAssembler::float16_to_float_v(VectorRegister dst, VectorRegister sr
23052305
vfwcvt_f_f_v(dst, src);
23062306

23072307
// jump to stub processing NaN and Inf cases if there is any of them in the vector-wide.
2308-
bnez(t0, stub->entry());
2308+
bnez(t0, stub->entry(), true);
23092309

23102310
bind(stub->continuation());
23112311
}
@@ -2359,7 +2359,7 @@ void C2_MacroAssembler::float_to_float16_v(VectorRegister dst, VectorRegister sr
23592359
vfncvt_f_f_w(dst, src);
23602360

23612361
// jump to stub processing NaN cases.
2362-
bnez(t0, stub->entry());
2362+
bnez(t0, stub->entry(), true);
23632363

23642364
bind(stub->continuation());
23652365
}

0 commit comments

Comments
 (0)