summaryrefslogtreecommitdiff
path: root/volk/tmpl/volk_cpu.tmpl.c
diff options
context:
space:
mode:
Diffstat (limited to 'volk/tmpl/volk_cpu.tmpl.c')
-rw-r--r--volk/tmpl/volk_cpu.tmpl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/volk/tmpl/volk_cpu.tmpl.c b/volk/tmpl/volk_cpu.tmpl.c
index 94895a76f..e0a0e91de 100644
--- a/volk/tmpl/volk_cpu.tmpl.c
+++ b/volk/tmpl/volk_cpu.tmpl.c
@@ -90,8 +90,6 @@ static inline unsigned int check_extended_cpuid(unsigned int val) {
static inline unsigned int get_avx_enabled(void) {
#if defined(VOLK_CPU_x86)
- //check to make sure that xgetbv is enabled in OS
- if(!cpuid_x86_bit(2, 1, 27)) return 0;
return __xgetbv() & 0x6;
#else
return 0;