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

Srinivas Vamsi Parasa sparasa at openjdk.org
Thu Apr 17 00:53:27 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:

  RRM refactorted to use a unified evex_ndd_and_int8 function

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

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

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

  Stats: 67 lines in 3 files changed: 8 ins; 34 del; 25 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