diff --git a/src/util/u_cpu_detect.c b/src/util/u_cpu_detect.c index 7fe0962517b..d6effd7671d 100644 --- a/src/util/u_cpu_detect.c +++ b/src/util/u_cpu_detect.c @@ -925,13 +925,6 @@ _util_cpu_detect_once(void) cpuid(0x80000000, regs); - if (regs[0] >= 0x80000001) { - cpuid(0x80000001, regs2); - - util_cpu_caps.has_xop = util_cpu_caps.has_avx && - ((regs2[2] >> 11) & 1); - } - if (regs[0] >= 0x80000006) { /* should we really do this if the clflush size above worked? */ unsigned int cacheline; @@ -986,7 +979,6 @@ _util_cpu_detect_once(void) printf("util_cpu_caps.has_avx2 = %u\n", util_cpu_caps.has_avx2); printf("util_cpu_caps.has_f16c = %u\n", util_cpu_caps.has_f16c); printf("util_cpu_caps.has_popcnt = %u\n", util_cpu_caps.has_popcnt); - printf("util_cpu_caps.has_xop = %u\n", util_cpu_caps.has_xop); printf("util_cpu_caps.has_altivec = %u\n", util_cpu_caps.has_altivec); printf("util_cpu_caps.has_vsx = %u\n", util_cpu_caps.has_vsx); printf("util_cpu_caps.has_neon = %u\n", util_cpu_caps.has_neon); diff --git a/src/util/u_cpu_detect.h b/src/util/u_cpu_detect.h index a97db077c58..6e52b75659b 100644 --- a/src/util/u_cpu_detect.h +++ b/src/util/u_cpu_detect.h @@ -98,7 +98,6 @@ struct util_cpu_caps_t { unsigned has_avx2:1; unsigned has_f16c:1; unsigned has_fma:1; - unsigned has_xop:1; unsigned has_altivec:1; unsigned has_vsx:1; unsigned has_daz:1;