On Sat, 17 Apr 2021 20:18:31 GMT, Doug Simon <dnsi...@openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 5aed446e
Author:    Doug Simon <dnsi...@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/5aed446e
Stats:     493 lines in 15 files changed: 146 ins; 235 del; 112 mod

8265403: consolidate definition of CPU features

Reviewed-by: kvn, iklam

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

PR: https://git.openjdk.java.net/jdk/pull/3558

Reply via email to