RFR: 8316046: x64 platforms unecessarily save xmm16-31 when UseAVX >= 3

Jorn Vernee jvernee at openjdk.org
Mon Oct 23 12:39:44 UTC 2023


See JBS issue. We don't need to save xmm16+ on x64 platforms (which are currently saved in FFM upcall stubs). This is achieved simply by adding these registers to the volatile register lists of both ABIs.

Related: https://github.com/openjdk/jdk/pull/15688

Testing: `jdk_foreign`

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

Commit messages:
 - don't save XMM16+ on Windows x64 and SysV

Changes: https://git.openjdk.org/jdk/pull/16307/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16307&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8316046
  Stats: 6 lines in 2 files changed: 4 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/16307.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16307/head:pull/16307

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


More information about the core-libs-dev mailing list