RFR: 8343964: RISC-V: Improve PrintOptoAssembly output for loadNKlassCompactHeaders node
Fei Yang
fyang at openjdk.org
Tue Nov 12 03:42:08 UTC 2024
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)
-------------
Commit messages:
- 8343964: RISC-V: Improve PrintOptoAssembly output for loadNKlassCompactHeaders node
Changes: https://git.openjdk.org/jdk/pull/22025/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22025&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8343964
Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/22025.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/22025/head:pull/22025
PR: https://git.openjdk.org/jdk/pull/22025
More information about the hotspot-compiler-dev
mailing list