AMD General Hi,
> -----Original Message----- > From: Uros Bizjak <[email protected]> > Sent: 25 August 2026 10:12 > To: Sharma, Dipesh <[email protected]> > Cc: [email protected]; [email protected]; [email protected]; > [email protected]; [email protected]; Kumar, Venkataramanan > <[email protected]> > Subject: Re: [PATCH] [X86]: Fix zen6 AVX512BMM cpuid check. > > Caution: This message originated from an External Source. Use proper caution > when opening attachments, clicking links, or responding. > > > On Fri, Aug 21, 2026 at 12:08 PM Dipesh Sharma > <[email protected]> wrote: > > > > > > Hi, > > > > Addressed comments from H.J. Lu. > > > > - Moved bit_AVX512BMM to extended features section. > > - Added test for __builtin_cpu_supports ("avx512bmm") compile and > runtime tests. > > > > gcc/ChangeLog: > > > > * common/config/i386/cpuinfo.h (get_available_features): Detect > AVX512BMM from extended features instead of standard leaf. > > * config/i386/cpuid.h (bit_AVX512BMM): Move to extended features > > section. > > > > gcc/testsuite/ChangeLog: > > > > * gcc.target/i386/avx512bmm-check-1.c: New test. > > * gcc.target/i386/avx512bmm-check-2.c: New test. > > * gcc.target/i386/avx512bmm-check-3.c: New test. > > > @@ -1205,6 +1195,8 @@ get_available_features (struct > __processor_model *cpu_model, > > { > > set_feature (FEATURE_PREFETCHI); > > } > > + if (eax & bit_AVX512BMM) > > + set_feature (FEATURE_AVX512BMM); > > } > > While there, please also remove curly braces from FEATURE_PREFETCHI. > > OK. Committed with the above change. > > Thanks, > Uros. Thanks, Dipesh
