Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: libvpx_srcs_x86_intrinsics.gypi

Issue 880513003: Disable AVX2 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: forgot to comment one more spot - not sure if GN allows empty rules and this is even necessary but … Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 'conditions': [ 88 'conditions': [
89 ['OS=="win" and clang==1', { 89 ['OS=="win" and clang==1', {
90 # cl.exe's /arch flag doesn't have a setting for SSSE3/4, and cl.exe 90 # cl.exe's /arch flag doesn't have a setting for SSSE3/4, and cl.exe
91 # doesn't need it for intrinsics. clang-cl does need it, though. 91 # doesn't need it for intrinsics. clang-cl does need it, though.
92 'msvs_settings': { 92 'msvs_settings': {
93 'VCCLCompilerTool': { 'AdditionalOptions': [ '-msse4.1' ] }, 93 'VCCLCompilerTool': { 'AdditionalOptions': [ '-msse4.1' ] },
94 }, 94 },
95 }], 95 }],
96 ], 96 ],
97 }, 97 },
98 {
99 'target_name': 'libvpx_intrinsics_avx2',
100 'type': 'static_library',
101 'include_dirs': [
102 'source/config/<(OS_CATEGORY)/<(target_arch_full)',
103 '<(libvpx_source)',
104 ],
105 'sources': [
106 '<(libvpx_source)/vp9/common/x86/vp9_loopfilter_intrin_avx2.c',
107 '<(libvpx_source)/vp9/common/x86/vp9_subpixel_8t_intrin_avx2.c',
108 '<(libvpx_source)/vp9/encoder/x86/vp9_dct32x32_avx2.c',
109 '<(libvpx_source)/vp9/encoder/x86/vp9_dct_avx2.c',
110 '<(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 ',
114 '<(libvpx_source)/vp9/encoder/x86/vp9_variance_avx2.c',
115 '<(libvpx_source)/vp9/encoder/x86/vp9_variance_impl_intrin_avx2.c',
116 ],
117 'cflags': [ '-mavx2', ],
118 'xcode_settings': { 'OTHER_CFLAGS': [ '-mavx2' ] },
119 'msvs_settings': {
120 'VCCLCompilerTool': {
121 'EnableEnhancedInstructionSet': '5', # /arch:AVX2
122 },
123 },
124 },
125 ], 98 ],
126 } 99 }
OLDNEW
« no previous file with comments | « libvpx_srcs_x86_64_intrinsics.gypi ('k') | source/config/linux/arm-neon-cpu-detect/vpx_config.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698