Skip to content

Commit

Permalink
8281744: x86: Use short jumps in TIG::set_vtos_entry_points
Browse files Browse the repository at this point in the history
Backport-of: 18704653dcc76b6360b746a6a9c20d614633da0e
  • Loading branch information
shipilev committed Nov 8, 2022
1 parent a00bd13 commit 3a5bcf0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/hotspot/cpu/x86/templateInterpreterGenerator_x86.cpp
Expand Up @@ -1702,21 +1702,21 @@ void TemplateInterpreterGenerator::set_vtos_entry_points(Template* t,
#ifndef _LP64
fep = __ pc(); // ftos entry point
__ push(ftos);
__ jmp(L);
__ jmpb(L);
dep = __ pc(); // dtos entry point
__ push(dtos);
__ jmp(L);
__ jmpb(L);
#else
fep = __ pc(); // ftos entry point
__ push_f(xmm0);
__ jmp(L);
__ jmpb(L);
dep = __ pc(); // dtos entry point
__ push_d(xmm0);
__ jmp(L);
__ jmpb(L);
#endif // _LP64
lep = __ pc(); // ltos entry point
__ push_l();
__ jmp(L);
__ jmpb(L);
aep = bep = cep = sep = iep = __ pc(); // [abcsi]tos entry point
__ push_i_or_ptr();
vep = __ pc(); // vtos entry point
Expand Down

0 comments on commit 3a5bcf0

Please sign in to comment.