Landing: 549ec717abb7

Project / Subsystem

gcc / testsuite

Date

2026-09-14

Author

Iain Sandoe

Commit

549ec717abb79c26186af06e01c937b4613c79ba

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
testsuite
patch_id
—
commit_hash
549ec717abb79c26186af06e01c937b4613c79ba
source_type
github
headline
Darwin testsuite queries kernel for AVX512 availability.
tldr
Darwin testsuite now queries the kernel for AVX512 support instead of relying on XCR0.
author
Iain Sandoe
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • testsuite
  • • x86
  • • Darwin
  • • AVX512
discussion_id_link
—
bugzilla_pr
—
date
2026-09-14T00:00:00.000Z

The GCC testsuite on Darwin now correctly checks for AVX512 availability by querying the kernel directly. This is because Darwin enables AVX512 state lazily, making a direct read of XCR0 unreliable during constructor calls. This change ensures the testsuite accurately reflects hardware capabilities.