mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-27 15:20:53 +00:00
8332498: [aarch64, x86] improving OpToAssembly output for partialSubtypeCheckConstSuper Instruct
Reviewed-by: kvn, thartmann
This commit is contained in:
parent
e529101ea3
commit
7ffc9997bd
@ -16230,7 +16230,7 @@ instruct partialSubtypeCheckConstSuper(iRegP_R4 sub, iRegP_R0 super_reg, immP su
|
||||
effect(KILL cr, TEMP tempR1, TEMP tempR2, TEMP tempR3, TEMP vtemp);
|
||||
|
||||
ins_cost(700); // smaller than the next version
|
||||
format %{ "partialSubtypeCheck $result, $sub, super" %}
|
||||
format %{ "partialSubtypeCheck $result, $sub, $super_reg, $super_con" %}
|
||||
|
||||
ins_encode %{
|
||||
bool success = false;
|
||||
|
||||
@ -12094,7 +12094,7 @@ instruct partialSubtypeCheckConstSuper(rsi_RegP sub, rax_RegP super_reg, immP su
|
||||
effect(KILL cr, TEMP temp1, TEMP temp2, TEMP temp3, TEMP temp4);
|
||||
|
||||
ins_cost(700); // smaller than the next version
|
||||
format %{ "partialSubtypeCheck $result, $sub, super" %}
|
||||
format %{ "partialSubtypeCheck $result, $sub, $super_reg, $super_con" %}
|
||||
|
||||
ins_encode %{
|
||||
u1 super_klass_slot = ((Klass*)$super_con$$constant)->hash_slot();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user