Skip to content

Commit 48a3f80

Browse files
author
duke
committedJan 7, 2025
Automatic merge of jdk:master into master
2 parents 0652082 + 379ac34 commit 48a3f80

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
 

‎src/hotspot/cpu/riscv/templateInterpreterGenerator_riscv.cpp

+7-7
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ address TemplateInterpreterGenerator::generate_math_entry(AbstractInterpreter::M
189189
} else {
190190
fn = CAST_FROM_FN_PTR(address, StubRoutines::dsin());
191191
}
192-
__ call(fn);
192+
__ rt_call(fn);
193193
__ mv(ra, x9);
194194
break;
195195
case Interpreter::java_lang_math_cos :
@@ -202,7 +202,7 @@ address TemplateInterpreterGenerator::generate_math_entry(AbstractInterpreter::M
202202
} else {
203203
fn = CAST_FROM_FN_PTR(address, StubRoutines::dcos());
204204
}
205-
__ call(fn);
205+
__ rt_call(fn);
206206
__ mv(ra, x9);
207207
break;
208208
case Interpreter::java_lang_math_tan :
@@ -215,7 +215,7 @@ address TemplateInterpreterGenerator::generate_math_entry(AbstractInterpreter::M
215215
} else {
216216
fn = CAST_FROM_FN_PTR(address, StubRoutines::dtan());
217217
}
218-
__ call(fn);
218+
__ rt_call(fn);
219219
__ mv(ra, x9);
220220
break;
221221
case Interpreter::java_lang_math_log :
@@ -228,7 +228,7 @@ address TemplateInterpreterGenerator::generate_math_entry(AbstractInterpreter::M
228228
} else {
229229
fn = CAST_FROM_FN_PTR(address, StubRoutines::dlog());
230230
}
231-
__ call(fn);
231+
__ rt_call(fn);
232232
__ mv(ra, x9);
233233
break;
234234
case Interpreter::java_lang_math_log10 :
@@ -241,7 +241,7 @@ address TemplateInterpreterGenerator::generate_math_entry(AbstractInterpreter::M
241241
} else {
242242
fn = CAST_FROM_FN_PTR(address, StubRoutines::dlog10());
243243
}
244-
__ call(fn);
244+
__ rt_call(fn);
245245
__ mv(ra, x9);
246246
break;
247247
case Interpreter::java_lang_math_exp :
@@ -254,7 +254,7 @@ address TemplateInterpreterGenerator::generate_math_entry(AbstractInterpreter::M
254254
} else {
255255
fn = CAST_FROM_FN_PTR(address, StubRoutines::dexp());
256256
}
257-
__ call(fn);
257+
__ rt_call(fn);
258258
__ mv(ra, x9);
259259
break;
260260
case Interpreter::java_lang_math_pow :
@@ -268,7 +268,7 @@ address TemplateInterpreterGenerator::generate_math_entry(AbstractInterpreter::M
268268
} else {
269269
fn = CAST_FROM_FN_PTR(address, StubRoutines::dpow());
270270
}
271-
__ call(fn);
271+
__ rt_call(fn);
272272
__ mv(ra, x9);
273273
break;
274274
case Interpreter::java_lang_math_fmaD :

0 commit comments

Comments
 (0)
Please sign in to comment.