Bug 946639 - Enable libvpx axv2 optimations on linux. r=cpearce
authorRalph Giles <giles@mozilla.com>
Wed, 15 Jan 2014 10:05:26 -0800
changeset 163726 684a926975483e667b1d44616423fbbeda8a26f2
parent 163725 4b71e71c27a5b0aa3245b7ad47feb7f5f6b795ec
child 163727 7cd28a857f88f505470a16fb7070ca9671992034
push idunknown
push userunknown
push dateunknown
reviewerscpearce
bugs946639
milestone29.0a1
Bug 946639 - Enable libvpx axv2 optimations on linux. r=cpearce Enable avx2 optimizations on linux now that our build machines have a new enough toolchains to support them.
media/libvpx/vpx_config_x86-linux-gcc.asm
media/libvpx/vpx_config_x86-linux-gcc.h
media/libvpx/vpx_config_x86_64-linux-gcc.asm
media/libvpx/vpx_config_x86_64-linux-gcc.h
--- a/media/libvpx/vpx_config_x86-linux-gcc.asm
+++ b/media/libvpx/vpx_config_x86-linux-gcc.asm
@@ -11,17 +11,17 @@ HAVE_MIPS32 equ 0
 HAVE_DSPR2 equ 0
 HAVE_MMX equ 1
 HAVE_SSE equ 1
 HAVE_SSE2 equ 1
 HAVE_SSE3 equ 1
 HAVE_SSSE3 equ 1
 HAVE_SSE4_1 equ 1
 HAVE_AVX equ 1
-HAVE_AVX2 equ 0
+HAVE_AVX2 equ 1
 HAVE_ALTIVEC equ 0
 HAVE_VPX_PORTS equ 1
 HAVE_STDINT_H equ 1
 HAVE_ALT_TREE_LAYOUT equ 0
 HAVE_PTHREAD_H equ 1
 HAVE_SYS_MMAN_H equ 1
 HAVE_UNISTD_H equ 1
 CONFIG_EXTERNAL_BUILD equ 0
--- a/media/libvpx/vpx_config_x86-linux-gcc.h
+++ b/media/libvpx/vpx_config_x86-linux-gcc.h
@@ -23,17 +23,17 @@
 #define HAVE_DSPR2 0
 #define HAVE_MMX 1
 #define HAVE_SSE 1
 #define HAVE_SSE2 1
 #define HAVE_SSE3 1
 #define HAVE_SSSE3 1
 #define HAVE_SSE4_1 1
 #define HAVE_AVX 1
-#define HAVE_AVX2 0
+#define HAVE_AVX2 1
 #define HAVE_ALTIVEC 0
 #define HAVE_VPX_PORTS 1
 #define HAVE_STDINT_H 1
 #define HAVE_ALT_TREE_LAYOUT 0
 #define HAVE_PTHREAD_H 1
 #define HAVE_SYS_MMAN_H 1
 #define HAVE_UNISTD_H 1
 #define CONFIG_EXTERNAL_BUILD 0
--- a/media/libvpx/vpx_config_x86_64-linux-gcc.asm
+++ b/media/libvpx/vpx_config_x86_64-linux-gcc.asm
@@ -11,17 +11,17 @@ HAVE_MIPS32 equ 0
 HAVE_DSPR2 equ 0
 HAVE_MMX equ 1
 HAVE_SSE equ 1
 HAVE_SSE2 equ 1
 HAVE_SSE3 equ 1
 HAVE_SSSE3 equ 1
 HAVE_SSE4_1 equ 1
 HAVE_AVX equ 1
-HAVE_AVX2 equ 0
+HAVE_AVX2 equ 1
 HAVE_ALTIVEC equ 0
 HAVE_VPX_PORTS equ 1
 HAVE_STDINT_H equ 1
 HAVE_ALT_TREE_LAYOUT equ 0
 HAVE_PTHREAD_H equ 1
 HAVE_SYS_MMAN_H equ 1
 HAVE_UNISTD_H equ 1
 CONFIG_EXTERNAL_BUILD equ 0
--- a/media/libvpx/vpx_config_x86_64-linux-gcc.h
+++ b/media/libvpx/vpx_config_x86_64-linux-gcc.h
@@ -23,17 +23,17 @@
 #define HAVE_DSPR2 0
 #define HAVE_MMX 1
 #define HAVE_SSE 1
 #define HAVE_SSE2 1
 #define HAVE_SSE3 1
 #define HAVE_SSSE3 1
 #define HAVE_SSE4_1 1
 #define HAVE_AVX 1
-#define HAVE_AVX2 0
+#define HAVE_AVX2 1
 #define HAVE_ALTIVEC 0
 #define HAVE_VPX_PORTS 1
 #define HAVE_STDINT_H 1
 #define HAVE_ALT_TREE_LAYOUT 0
 #define HAVE_PTHREAD_H 1
 #define HAVE_SYS_MMAN_H 1
 #define HAVE_UNISTD_H 1
 #define CONFIG_EXTERNAL_BUILD 0