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