Index: third_party/libvpx_new/libvpx_srcs_x86_64_intrinsics.gypi |
diff --git a/third_party/libvpx_new/libvpx_srcs_x86_64_intrinsics.gypi b/third_party/libvpx_new/libvpx_srcs_x86_64_intrinsics.gypi |
new file mode 100644 |
index 0000000000000000000000000000000000000000..95fa0e75b487c03665fd9f8d180109e6c92eabc8 |
--- /dev/null |
+++ b/third_party/libvpx_new/libvpx_srcs_x86_64_intrinsics.gypi |
@@ -0,0 +1,123 @@ |
+# This file is generated. Do not edit. |
+# Copyright (c) 2014 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+{ |
+ 'targets': [ |
+ { |
+ 'target_name': 'libvpx_intrinsics_mmx', |
+ 'type': 'static_library', |
+ 'include_dirs': [ |
+ 'source/config/<(OS_CATEGORY)/<(target_arch_full)', |
+ '<(libvpx_source)', |
+ ], |
+ 'sources': [ |
+ '<(libvpx_source)/vp8/common/x86/idct_blk_mmx.c', |
+ '<(libvpx_source)/vp8/encoder/x86/vp8_enc_stubs_mmx.c', |
+ '<(libvpx_source)/vpx_dsp/x86/variance_mmx.c', |
+ ], |
+ 'cflags': [ '-mmmx', ], |
+ 'xcode_settings': { 'OTHER_CFLAGS': [ '-mmmx' ] }, |
+ }, |
+ { |
+ 'target_name': 'libvpx_intrinsics_sse2', |
+ 'type': 'static_library', |
+ 'include_dirs': [ |
+ 'source/config/<(OS_CATEGORY)/<(target_arch_full)', |
+ '<(libvpx_source)', |
+ ], |
+ 'sources': [ |
+ '<(libvpx_source)/vp8/common/x86/idct_blk_sse2.c', |
+ '<(libvpx_source)/vp8/common/x86/recon_wrapper_sse2.c', |
+ '<(libvpx_source)/vp8/encoder/x86/denoising_sse2.c', |
+ '<(libvpx_source)/vp8/encoder/x86/vp8_enc_stubs_sse2.c', |
+ '<(libvpx_source)/vp8/encoder/x86/vp8_quantize_sse2.c', |
+ '<(libvpx_source)/vp9/common/x86/vp9_idct_intrin_sse2.c', |
+ '<(libvpx_source)/vp9/encoder/x86/vp9_avg_intrin_sse2.c', |
+ '<(libvpx_source)/vp9/encoder/x86/vp9_dct_sse2.c', |
+ '<(libvpx_source)/vp9/encoder/x86/vp9_denoiser_sse2.c', |
+ '<(libvpx_source)/vp9/encoder/x86/vp9_quantize_sse2.c', |
+ '<(libvpx_source)/vpx_dsp/x86/fwd_txfm_sse2.c', |
+ '<(libvpx_source)/vpx_dsp/x86/halfpix_variance_sse2.c', |
+ '<(libvpx_source)/vpx_dsp/x86/inv_txfm_sse2.c', |
+ '<(libvpx_source)/vpx_dsp/x86/loopfilter_sse2.c', |
+ '<(libvpx_source)/vpx_dsp/x86/quantize_sse2.c', |
+ '<(libvpx_source)/vpx_dsp/x86/variance_sse2.c', |
+ ], |
+ 'cflags': [ '-msse2', ], |
+ 'xcode_settings': { 'OTHER_CFLAGS': [ '-msse2' ] }, |
+ }, |
+ { |
+ 'target_name': 'libvpx_intrinsics_ssse3', |
+ 'type': 'static_library', |
+ 'include_dirs': [ |
+ 'source/config/<(OS_CATEGORY)/<(target_arch_full)', |
+ '<(libvpx_source)', |
+ ], |
+ 'sources': [ |
+ '<(libvpx_source)/vp8/encoder/x86/quantize_ssse3.c', |
+ '<(libvpx_source)/vp9/encoder/x86/vp9_dct_ssse3.c', |
+ '<(libvpx_source)/vpx_dsp/x86/vpx_subpixel_8t_intrin_ssse3.c', |
+ ], |
+ 'cflags': [ '-mssse3', ], |
+ 'xcode_settings': { 'OTHER_CFLAGS': [ '-mssse3' ] }, |
+ 'conditions': [ |
+ ['OS=="win" and clang==1', { |
+ # cl.exe's /arch flag doesn't have a setting for SSSE3/4, and cl.exe |
+ # doesn't need it for intrinsics. clang-cl does need it, though. |
+ 'msvs_settings': { |
+ 'VCCLCompilerTool': { 'AdditionalOptions': [ '-mssse3' ] }, |
+ }, |
+ }], |
+ ], |
+ }, |
+ { |
+ 'target_name': 'libvpx_intrinsics_sse4_1', |
+ 'type': 'static_library', |
+ 'include_dirs': [ |
+ 'source/config/<(OS_CATEGORY)/<(target_arch_full)', |
+ '<(libvpx_source)', |
+ ], |
+ 'sources': [ |
+ '<(libvpx_source)/vp8/encoder/x86/quantize_sse4.c', |
+ ], |
+ 'cflags': [ '-msse4.1', ], |
+ 'xcode_settings': { 'OTHER_CFLAGS': [ '-msse4.1' ] }, |
+ 'conditions': [ |
+ ['OS=="win" and clang==1', { |
+ # cl.exe's /arch flag doesn't have a setting for SSSE3/4, and cl.exe |
+ # doesn't need it for intrinsics. clang-cl does need it, though. |
+ 'msvs_settings': { |
+ 'VCCLCompilerTool': { 'AdditionalOptions': [ '-msse4.1' ] }, |
+ }, |
+ }], |
+ ], |
+ }, |
+ { |
+ 'target_name': 'libvpx_intrinsics_avx2', |
+ 'type': 'static_library', |
+ 'include_dirs': [ |
+ 'source/config/<(OS_CATEGORY)/<(target_arch_full)', |
+ '<(libvpx_source)', |
+ ], |
+ 'sources': [ |
+ '<(libvpx_source)/vp9/encoder/x86/vp9_error_intrin_avx2.c', |
+ '<(libvpx_source)/vpx_dsp/x86/fwd_txfm_avx2.c', |
+ '<(libvpx_source)/vpx_dsp/x86/loopfilter_avx2.c', |
+ '<(libvpx_source)/vpx_dsp/x86/sad4d_avx2.c', |
+ '<(libvpx_source)/vpx_dsp/x86/sad_avx2.c', |
+ '<(libvpx_source)/vpx_dsp/x86/variance_avx2.c', |
+ '<(libvpx_source)/vpx_dsp/x86/variance_impl_avx2.c', |
+ '<(libvpx_source)/vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c', |
+ ], |
+ 'cflags': [ '-mavx2', ], |
+ 'xcode_settings': { 'OTHER_CFLAGS': [ '-mavx2' ] }, |
+ 'msvs_settings': { |
+ 'VCCLCompilerTool': { |
+ 'EnableEnhancedInstructionSet': '5', # /arch:AVX2 |
+ }, |
+ }, |
+ }, |
+ ], |
+} |