RFR: 8351994: Enable Extended EVEX to REX2/REX demotion when src and dst are the same [v7]

Srinivas Vamsi Parasa sparasa at openjdk.org
Thu Apr 17 22:01:02 UTC 2025


> The current scheme for Intel APX NDD code generation favors the emission of NDD instruction on APX-enabled targets, even if destination and source registers are the same. To prevent this, this PR extends the assembler layer to demote EEVEX to REX encoding if dst matches with source operands.

Srinivas Vamsi Parasa has updated the pull request incrementally with one additional commit since the last revision:

  refactor APX NDD shift instrcutions to do demotion internally

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24431/files
  - new: https://git.openjdk.org/jdk/pull/24431/files/3b5d9856..ca750e3e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24431&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24431&range=05-06

  Stats: 68 lines in 2 files changed: 28 ins; 34 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/24431.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24431/head:pull/24431

PR: https://git.openjdk.org/jdk/pull/24431


More information about the hotspot-compiler-dev mailing list