RFR: 8267968: [PPC64] Use prefixed load and addi instructions for better performance in POWER10 [v3]
Kazunori Ogata
ogatak at openjdk.java.net
Wed Jun 9 11:24:33 UTC 2021
> The POWER10 processor supports prefixed load and addi instructions that have larger displacement field of up to 34-bits. We can reduce instruction cycles to load constant from TOC and load an immediate value to a register.
>
> Assembler::{load|add}_const_optimized() and LoadCon[LPFD]Nodes are modified to use prefixed instructions, with fixing other functions that are affected by this change.
>
> I ran jtreg test on both POWER10 and POWER8 machines by using "make test-tier1" and verified no additional fails by this change. I also ran DaCapo, Renaissance, and SPECjbb2015 on both of them and verified they run successfully.
Kazunori Ogata has updated the pull request incrementally with two additional commits since the last revision:
- Revert changes for pusing nodes in loadConLNodesTuple and add comments about the node _last points to
- Fix grammatical errors in comments
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/4267/files
- new: https://git.openjdk.java.net/jdk/pull/4267/files/ea87e2c0..0615adac
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4267&range=02
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4267&range=01-02
Stats: 27 lines in 2 files changed: 0 ins; 6 del; 21 mod
Patch: https://git.openjdk.java.net/jdk/pull/4267.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4267/head:pull/4267
PR: https://git.openjdk.java.net/jdk/pull/4267
More information about the hotspot-dev
mailing list