On Tue, 5 May 2026 21:12:45 GMT, Ashutosh Mehra <[email protected]> wrote:

> VM has a hardcoded requirements on the hardware to have support for SSE2 and 
> CLFLUSH. Without SSE2 and CLFLUSH, VM won't even startup. Therefore there is 
> no need to explicitly check for SSE2 or CLFLUSH  the initial hardcoded check 
> for these features.
> Since SSE2 is the minimum level required, it is safe to assume SSE is also 
> always present, so the check for SSE can also be removed. Same with MMX.
> This patch cleans up enums and feature test functions for these CPU features.
> 
> ---------
> - [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: 322dedba
Author:    Ashutosh Mehra <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/322dedba583213bd42827f094fce9f4bbf92feb6
Stats:     204 lines in 14 files changed: 10 ins; 159 del; 35 mod

8383881: Cleanup cpu feature enums and test functions for features that should 
always be available on x86-64 platforms

Reviewed-by: kvn, vlivanov, adinn, shade

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

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

Reply via email to