Integrated: 8343964: RISC-V: Improve PrintOptoAssembly output for loadNKlassCompactHeaders node
Fei Yang
fyang at openjdk.org
Wed Nov 13 02:59:28 UTC 2024
On Tue, 12 Nov 2024 02:55:48 GMT, Fei Yang <fyang at openjdk.org> wrote:
> Hi, please review this small change.
>
> Currently, we print a simple `lwu` for this node, which is not accurate becasue we do a `ld` and logic shift right the loaded 64-bit value for this node. This simply changed it into `load_narrow_klass_compact` like other CPU platforms. After this change, we have:
>
>
> 070 B2: # out( B8 B3 ) <- in( B1 ) Freq: 0.9
> 070 + load_narrow_klass_compact R28, [R12, #4] # compressed class ptr, #@loadNKlassCompactHeaders
>
>
> (Tagging: @Hamlin-Li)
This pull request has now been integrated.
Changeset: c78de7bf
Author: Fei Yang <fyang at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/c78de7bf5fc5a4da50c6c64e181abf02a5b12630
Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
8343964: RISC-V: Improve PrintOptoAssembly output for loadNKlassCompactHeaders node
Reviewed-by: mli, fjiang
-------------
PR: https://git.openjdk.org/jdk/pull/22025
More information about the hotspot-compiler-dev
mailing list