OLD | NEW |
1 # This file is generated. Do not edit. | 1 # This file is generated. Do not edit. |
2 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2014 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 { | 6 { |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 'target_name': 'libvpx_intrinsics_mmx', | 9 'target_name': 'libvpx_intrinsics_mmx', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 { | 50 { |
51 'target_name': 'libvpx_intrinsics_ssse3', | 51 'target_name': 'libvpx_intrinsics_ssse3', |
52 'type': 'static_library', | 52 'type': 'static_library', |
53 'include_dirs': [ | 53 'include_dirs': [ |
54 'source/config/<(OS_CATEGORY)/<(target_arch_full)', | 54 'source/config/<(OS_CATEGORY)/<(target_arch_full)', |
55 '<(libvpx_source)', | 55 '<(libvpx_source)', |
56 ], | 56 ], |
57 'sources': [ | 57 'sources': [ |
58 '<(libvpx_source)/vp8/common/x86/variance_ssse3.c', | 58 '<(libvpx_source)/vp8/common/x86/variance_ssse3.c', |
59 '<(libvpx_source)/vp8/encoder/x86/quantize_ssse3.c', | 59 '<(libvpx_source)/vp8/encoder/x86/quantize_ssse3.c', |
60 '<(libvpx_source)/vp9/common/x86/vp9_idct_intrin_ssse3.c', | |
61 '<(libvpx_source)/vp9/common/x86/vp9_subpixel_8t_intrin_ssse3.c', | 60 '<(libvpx_source)/vp9/common/x86/vp9_subpixel_8t_intrin_ssse3.c', |
62 '<(libvpx_source)/vp9/encoder/x86/vp9_dct_ssse3.c', | 61 '<(libvpx_source)/vp9/encoder/x86/vp9_dct_ssse3.c', |
63 ], | 62 ], |
64 'cflags': [ '-mssse3', ], | 63 'cflags': [ '-mssse3', ], |
65 'xcode_settings': { 'OTHER_CFLAGS': [ '-mssse3' ] }, | 64 'xcode_settings': { 'OTHER_CFLAGS': [ '-mssse3' ] }, |
66 'conditions': [ | 65 'conditions': [ |
67 ['OS=="win" and clang==1', { | 66 ['OS=="win" and clang==1', { |
68 # cl.exe's /arch flag doesn't have a setting for SSSE3/4, and cl.exe | 67 # cl.exe's /arch flag doesn't have a setting for SSSE3/4, and cl.exe |
69 # doesn't need it for intrinsics. clang-cl does need it, though. | 68 # doesn't need it for intrinsics. clang-cl does need it, though. |
70 'msvs_settings': { | 69 'msvs_settings': { |
(...skipping 30 matching lines...) Expand all Loading... |
101 'include_dirs': [ | 100 'include_dirs': [ |
102 'source/config/<(OS_CATEGORY)/<(target_arch_full)', | 101 'source/config/<(OS_CATEGORY)/<(target_arch_full)', |
103 '<(libvpx_source)', | 102 '<(libvpx_source)', |
104 ], | 103 ], |
105 'sources': [ | 104 'sources': [ |
106 '<(libvpx_source)/vp9/common/x86/vp9_loopfilter_intrin_avx2.c', | 105 '<(libvpx_source)/vp9/common/x86/vp9_loopfilter_intrin_avx2.c', |
107 '<(libvpx_source)/vp9/common/x86/vp9_subpixel_8t_intrin_avx2.c', | 106 '<(libvpx_source)/vp9/common/x86/vp9_subpixel_8t_intrin_avx2.c', |
108 '<(libvpx_source)/vp9/encoder/x86/vp9_dct32x32_avx2.c', | 107 '<(libvpx_source)/vp9/encoder/x86/vp9_dct32x32_avx2.c', |
109 '<(libvpx_source)/vp9/encoder/x86/vp9_dct_avx2.c', | 108 '<(libvpx_source)/vp9/encoder/x86/vp9_dct_avx2.c', |
110 '<(libvpx_source)/vp9/encoder/x86/vp9_error_intrin_avx2.c', | 109 '<(libvpx_source)/vp9/encoder/x86/vp9_error_intrin_avx2.c', |
111 '<(libvpx_source)/vp9/encoder/x86/vp9_sad4d_intrin_avx2.c', | |
112 '<(libvpx_source)/vp9/encoder/x86/vp9_sad_intrin_avx2.c', | |
113 '<(libvpx_source)/vp9/encoder/x86/vp9_subpel_variance_impl_intrin_avx2.c
', | 110 '<(libvpx_source)/vp9/encoder/x86/vp9_subpel_variance_impl_intrin_avx2.c
', |
114 '<(libvpx_source)/vp9/encoder/x86/vp9_variance_avx2.c', | 111 '<(libvpx_source)/vp9/encoder/x86/vp9_variance_avx2.c', |
115 '<(libvpx_source)/vp9/encoder/x86/vp9_variance_impl_intrin_avx2.c', | 112 '<(libvpx_source)/vp9/encoder/x86/vp9_variance_impl_intrin_avx2.c', |
| 113 '<(libvpx_source)/vpx_dsp/x86/sad4d_avx2.c', |
| 114 '<(libvpx_source)/vpx_dsp/x86/sad_avx2.c', |
116 ], | 115 ], |
117 'cflags': [ '-mavx2', ], | 116 'cflags': [ '-mavx2', ], |
118 'xcode_settings': { 'OTHER_CFLAGS': [ '-mavx2' ] }, | 117 'xcode_settings': { 'OTHER_CFLAGS': [ '-mavx2' ] }, |
119 'msvs_settings': { | 118 'msvs_settings': { |
120 'VCCLCompilerTool': { | 119 'VCCLCompilerTool': { |
121 'EnableEnhancedInstructionSet': '5', # /arch:AVX2 | 120 'EnableEnhancedInstructionSet': '5', # /arch:AVX2 |
122 }, | 121 }, |
123 }, | 122 }, |
124 # TODO(pcc): Remove this once we properly support subtarget specific | 123 # TODO(pcc): Remove this once we properly support subtarget specific |
125 # code generation in LLVM (http://llvm.org/PR19416). | 124 # code generation in LLVM (http://llvm.org/PR19416). |
126 'cflags!': [ '-flto', '-fsanitize=cfi-vptr', ], | 125 'cflags!': [ '-flto', '-fsanitize=cfi-vptr', ], |
127 }, | 126 }, |
128 ], | 127 ], |
129 } | 128 } |
OLD | NEW |