RFR: 8265403: consolidate definition of CPU features [v3]
Doug Simon
dnsimon at openjdk.java.net
Mon Apr 19 09:46:17 UTC 2021
> While porting [JDK-8224974](https://bugs.openjdk.java.net/browse/JDK-8224974) to Graal, I noticed that new CPU features were defined for x86 and AArch64 without being exposed via JVMCI. To avoid this problem in future, this PR updates x86 and AArch64 to define CPU features with a single macro that is used to generate enum declarations as well as vmstructs entries.
>
> In addition, the JVMCI API is updated to exposes the new CPU feature constants and now has a check that ensure these constants are in sync with the underlying macro definition.
Doug Simon has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
avoid use of a lambda in JVMCI initialization
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/3558/files
- new: https://git.openjdk.java.net/jdk/pull/3558/files/bdf9eefb..124019d7
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3558&range=02
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3558&range=01-02
Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/3558.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3558/head:pull/3558
PR: https://git.openjdk.java.net/jdk/pull/3558
More information about the build-dev
mailing list