On Wed, 16 Sep 2026 22:30:23 GMT, Srinivas Vamsi Parasa <[email protected]> 
wrote:

> The goal of this PR is to update the x86-64 APX calling convention on 
> Windows. According to the latest [Windows x64 calling 
> convention](https://learn.microsoft.com/en-us/cpp/build/x64-calling-convention?view=msvc-170),
>  R30 and R31 are nonvolatile on Win64 on x86_64.
> 
> R30 and R31 should have the SOE (Save-On-Entry) C convention save type 
> instead of the SOC (Save-On-Call) C convention save type on Win64 in 
> hotspot/cpu/x86/x86.ad.
> 
> 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: b41070a0
Author:    Srinivas Vamsi Parasa <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/b41070a002908a947e80670850e90ffa08ae0355
Stats:     67 lines in 8 files changed: 58 ins; 0 del; 9 mod

8392046: R30 and R31 should not be SOC on Windows

Reviewed-by: missa, jbhateja, sviswanathan

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

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

Reply via email to