Skip to content

Commit

Permalink
8343964: RISC-V: Improve PrintOptoAssembly output for loadNKlassCompa…
Browse files Browse the repository at this point in the history
…ctHeaders node

Reviewed-by: mli, fjiang
  • Loading branch information
RealFYang committed Nov 13, 2024
1 parent eb40a88 commit c78de7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/hotspot/cpu/riscv/riscv.ad
Original file line number Diff line number Diff line change
Expand Up @@ -4768,7 +4768,7 @@ instruct loadN(iRegNNoSp dst, memory mem)
match(Set dst (LoadN mem));

ins_cost(LOAD_COST);
format %{ "lwu $dst, $mem\t# loadN, compressed ptr, #@loadN" %}
format %{ "lwu $dst, $mem\t# compressed ptr, #@loadN" %}

ins_encode %{
__ lwu(as_Register($dst$$reg), Address(as_Register($mem$$base), $mem$$disp));
Expand Down Expand Up @@ -4799,7 +4799,7 @@ instruct loadNKlass(iRegNNoSp dst, memory mem)
match(Set dst (LoadNKlass mem));

ins_cost(LOAD_COST);
format %{ "lwu $dst, $mem\t# loadNKlass, compressed class ptr, #@loadNKlass" %}
format %{ "lwu $dst, $mem\t# compressed class ptr, #@loadNKlass" %}

ins_encode %{
__ lwu(as_Register($dst$$reg), Address(as_Register($mem$$base), $mem$$disp));
Expand All @@ -4814,7 +4814,7 @@ instruct loadNKlassCompactHeaders(iRegNNoSp dst, memory mem)
match(Set dst (LoadNKlass mem));

ins_cost(LOAD_COST);
format %{ "lwu $dst, $mem\t# loadNKlass, compressed class ptr, #@loadNKlass" %}
format %{ "load_narrow_klass_compact $dst, $mem\t# compressed class ptr, #@loadNKlassCompactHeaders" %}

ins_encode %{
__ load_narrow_klass_compact_c2(as_Register($dst$$reg), Address(as_Register($mem$$base), $mem$$disp));
Expand Down

0 comments on commit c78de7b

Please sign in to comment.