diff options
Diffstat (limited to 'gcc/common/config/i386/cpuinfo.h')
-rw-r--r-- | gcc/common/config/i386/cpuinfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/common/config/i386/cpuinfo.h b/gcc/common/config/i386/cpuinfo.h index 62c3d1b6b00..f21be393ccb 100644 --- a/gcc/common/config/i386/cpuinfo.h +++ b/gcc/common/config/i386/cpuinfo.h @@ -831,6 +831,8 @@ get_available_features (struct __processor_model *cpu_model, __cpuid_count (7, 1, eax, ebx, ecx, edx); if (eax & bit_HRESET) set_feature (FEATURE_HRESET); + if (eax & bit_CMPCCXADD) + set_feature(FEATURE_CMPCCXADD); if (avx_usable) { if (eax & bit_AVXVNNI) |