Landing: 33053605189f

Project / Subsystem

gcc / i386

Date

2026-08-20

Author

Dipesh Sharma

Commit

33053605189f2b903b1a0d730a1feec166e89735

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
i386
patch_id
—
commit_hash
33053605189f2b903b1a0d730a1feec166e89735
source_type
github
headline
Fix zen6 AVX512BMM cpuid check
tldr
Correctly detects AVX512BMM support for Zen 6 CPUs.
author
Dipesh Sharma
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • x86
  • • cpu feature
  • • amd
  • • avx512
discussion_id_link
—
bugzilla_pr
—
date
2026-08-20T00:00:00.000Z

This commit corrects the CPU identification for the AVX512BMM instruction set on AMD Zen 6 processors. Previously, the bit_AVX512BMM flag was incorrectly checked against the standard CPUID leaf. This patch moves the detection to the extended features section of CPUID, aligning with how newer instruction sets are exposed. New compile-time and run-time tests are added to verify the fix for __builtin_cpu_supports('avx512bmm').