diff options
author | Josh Blum | 2012-04-16 18:39:29 -0700 |
---|---|---|
committer | Josh Blum | 2012-04-19 18:13:22 -0700 |
commit | 0b117624e09643b7615316d3fa4741e2004529fa (patch) | |
tree | 8efe89c0ce8bb25819855d50ef569c65234e58ee /volk/tmpl | |
parent | 5a3d372c027237dad1b1d8bc55c73f3217509b8f (diff) | |
download | gnuradio-0b117624e09643b7615316d3fa4741e2004529fa.tar.gz gnuradio-0b117624e09643b7615316d3fa4741e2004529fa.tar.bz2 gnuradio-0b117624e09643b7615316d3fa4741e2004529fa.zip |
volk: move avx cpuid_x86_bit check in archs.xml
Diffstat (limited to 'volk/tmpl')
-rw-r--r-- | volk/tmpl/volk_cpu.tmpl.c | 2 |
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; |