diff options
author | Radu Velea <radu.velea@intel.com> | 2015-10-27 13:52:11 +0200 |
---|---|---|
committer | Timothy B. Terriberry <tterribe@xiph.org> | 2015-11-05 01:23:03 -0800 |
commit | bb0e1e0d6f6b112160a10de84ba368689c41c1bb (patch) | |
tree | 4f25309f9819fd2c9378cb6302ae69c063b53d1c | |
parent | 911ddc0c58b67c9a8d5d1272040b0b9df5e6a782 (diff) | |
download | opus-bb0e1e0d6f6b112160a10de84ba368689c41c1bb.tar.gz |
Naming convention for AVX
Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
-rw-r--r-- | celt/x86/x86cpu.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/celt/x86/x86cpu.h b/celt/x86/x86cpu.h index 870b15e1..04fd48aa 100644 --- a/celt/x86/x86cpu.h +++ b/celt/x86/x86cpu.h @@ -46,6 +46,12 @@ # define MAY_HAVE_SSE4_1(name) name ## _c # endif +# if defined(OPUS_X86_MAY_HAVE_AVX) +# define MAY_HAVE_AVX(name) name ## _avx +# else +# define MAY_HAVE_AVX(name) name ## _c +# endif + # if defined(OPUS_HAVE_RTCD) int opus_select_arch(void); # endif |