RFR: 8343964: RISC-V: Improve PrintOptoAssembly output for loadNKlassCompactHeaders node
Feilong Jiang
fjiang at openjdk.org
Wed Nov 13 02:51:54 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)
LGTM, thanks!
-------------
Marked as reviewed by fjiang (Committer).
PR Review: https://git.openjdk.org/jdk/pull/22025#pullrequestreview-2431651715
More information about the hotspot-compiler-dev
mailing list