RFR: 8267968: [PPC64] Use prefixed load and addi instructions for better performance in POWER10 [v2]

Kazunori Ogata ogatak at openjdk.java.net
Sun Jun 6 20:28:27 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 one additional commit since the last revision:

  Improve comments in macroAssembler_ppc.cpp

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4267/files
  - new: https://git.openjdk.java.net/jdk/pull/4267/files/b87cb294..ea87e2c0

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4267&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4267&range=00-01

  Stats: 6 lines in 1 file changed: 4 ins; 0 del; 2 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