GNU Radio 3.6.5 C++ API

volk_cpu.h

Go to the documentation of this file.
00001 
00002 
00003 /* this file was generated by volk template utils, do not edit! */
00004 
00005 /*
00006  * Copyright 2011-2012 Free Software Foundation, Inc.
00007  *
00008  * This file is part of GNU Radio
00009  *
00010  * GNU Radio is free software; you can redistribute it and/or modify
00011  * it under the terms of the GNU General Public License as published by
00012  * the Free Software Foundation; either version 3, or (at your option)
00013  * any later version.
00014  *
00015  * GNU Radio is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018  * GNU General Public License for more details.
00019  *
00020  * You should have received a copy of the GNU General Public License
00021  * along with GNU Radio; see the file COPYING.  If not, write to
00022  * the Free Software Foundation, Inc., 51 Franklin Street,
00023  * Boston, MA 02110-1301, USA.
00024  */
00025 
00026 #ifndef INCLUDED_VOLK_CPU_H
00027 #define INCLUDED_VOLK_CPU_H
00028 
00029 #include <volk/volk_common.h>
00030 
00031 __VOLK_DECL_BEGIN
00032 
00033 struct VOLK_CPU {
00034     int (*has_generic) ();
00035     int (*has_altivec) ();
00036     int (*has_neon) ();
00037     int (*has_32) ();
00038     int (*has_64) ();
00039     int (*has_3dnow) ();
00040     int (*has_abm) ();
00041     int (*has_popcount) ();
00042     int (*has_mmx) ();
00043     int (*has_sse) ();
00044     int (*has_sse2) ();
00045     int (*has_orc) ();
00046     int (*has_norc) ();
00047     int (*has_sse3) ();
00048     int (*has_ssse3) ();
00049     int (*has_sse4_a) ();
00050     int (*has_sse4_1) ();
00051     int (*has_sse4_2) ();
00052     int (*has_avx) ();
00053 };
00054 
00055 extern struct VOLK_CPU volk_cpu;
00056 
00057 void volk_cpu_init ();
00058 unsigned int volk_get_lvarch ();
00059 
00060 __VOLK_DECL_END
00061 
00062 #endif /*INCLUDED_VOLK_CPU_H*/