RFR: 8357267: ZGC: Handle APX EGPRs spilling in ZRuntimeCallSpill

Axel Boldt-Christmas aboldtch at openjdk.org
Thu May 22 06:54:56 UTC 2025


On Wed, 21 May 2025 23:33:47 GMT, Sandhya Viswanathan <sviswanathan at openjdk.org> wrote:

> Intel APX add additional GPR registers (R16 - R31). Our understanding is that these also need to be saved and restored as part of ZRuntimeCallSpill. Is that correct?

ZRuntimeCallSpill is used when doing calls into libjvm from contexts where we do not track the liveness of the registers. So all caller saved registers must be saved and restored. If all APX registers are caller saved, then yes this is correct.

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

PR Comment: https://git.openjdk.org/jdk/pull/25351#issuecomment-2900114700


More information about the hotspot-dev mailing list