RFR: 8353735: [JVMCI] Allow specifying storage kind of the callee save register

Yudi Zheng yzheng at openjdk.org
Mon Apr 7 14:27:30 UTC 2025


Windows x64 ABI considers the upper portions of YMM0-YMM15 and ZMM0-ZMM15 volatile, that is, destroyed on function calls. This PR allows `RegisterConfig` implementations to refine the storage kind of callee save register, such that JVMCI compiler can exploit this information to avoid backing up full width of these registers.

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

Commit messages:
 - [JVMCI] Allow specifying storage kind of the callee save register

Changes: https://git.openjdk.org/jdk/pull/24451/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24451&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8353735
  Stats: 8 lines in 1 file changed: 7 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/24451.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24451/head:pull/24451

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


More information about the graal-dev mailing list