[jdk21u-dev] RFR: 8321025: Enable Neoverse N1 optimizations for Neoverse V2

Xiaolong Peng xpeng at openjdk.org
Tue Jun 18 17:29:43 UTC 2024


### Notes
Backport 8321025: Enable Neoverse N1 optimizations for Neoverse V2  to jdk21 it is not a clean backport, the method ```model_is(0xd40) ``` is in jdk21, equivalent code in jdk21 is like ```(_model == 0xd40 || _model2 == 0xd40)```.

#### Verification
Not able to test it on CPU with Neoverse V2, since I don't have server supports Neoverse V2 yet, but the fix has been backported to [Amazon Corretto 21](https://github.com/corretto/corretto-21/blob/release-21.0.3.9.1/CHANGELOG.md
) since January 16, 2024, overall it should be a low risk.

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

Commit messages:
 - Code format
 - Backport VM_Version::model_is from openjdk/jdk at 3283328 (8311130: AArch64: Sync SVE related CPU features with VM options)
 - Backport c9d15f7d5ee616bf48d85647ee504714ac5fafc2

Changes: https://git.openjdk.org/jdk21u-dev/pull/720/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=720&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8321025
  Stats: 8 lines in 2 files changed: 4 ins; 1 del; 3 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/720.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/720/head:pull/720

PR: https://git.openjdk.org/jdk21u-dev/pull/720


More information about the jdk-updates-dev mailing list