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

Side by Side Diff: third_party/libvpx_new/libvpx_srcs_x86_intrinsics.gypi

Issue 1460763003: Fix libvpx's gyp for enabling AVX instructions with MSVC and clang-cl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « third_party/libvpx_new/libvpx_srcs_x86_64_intrinsics.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 'source/config/<(OS_CATEGORY)/<(target_arch_full)', 100 'source/config/<(OS_CATEGORY)/<(target_arch_full)',
101 '<(libvpx_source)', 101 '<(libvpx_source)',
102 ], 102 ],
103 'sources': [ 103 'sources': [
104 '<(libvpx_source)/vp9/encoder/x86/vp9_diamond_search_sad_avx.c', 104 '<(libvpx_source)/vp9/encoder/x86/vp9_diamond_search_sad_avx.c',
105 ], 105 ],
106 'cflags': [ '-mavx', ], 106 'cflags': [ '-mavx', ],
107 'xcode_settings': { 'OTHER_CFLAGS': [ '-mavx' ] }, 107 'xcode_settings': { 'OTHER_CFLAGS': [ '-mavx' ] },
108 'msvs_settings': { 108 'msvs_settings': {
109 'VCCLCompilerTool': { 109 'VCCLCompilerTool': {
110 'EnableEnhancedInstructionSet': '4', # /arch:AVX 110 'EnableEnhancedInstructionSet': '3', # /arch:AVX
111 }, 111 },
112 }, 112 },
113 }, 113 },
114 { 114 {
115 'target_name': 'libvpx_intrinsics_avx2', 115 'target_name': 'libvpx_intrinsics_avx2',
116 'type': 'static_library', 116 'type': 'static_library',
117 'include_dirs': [ 117 'include_dirs': [
118 'source/config/<(OS_CATEGORY)/<(target_arch_full)', 118 'source/config/<(OS_CATEGORY)/<(target_arch_full)',
119 '<(libvpx_source)', 119 '<(libvpx_source)',
120 ], 120 ],
(...skipping 10 matching lines...) Expand all
131 'cflags': [ '-mavx2', ], 131 'cflags': [ '-mavx2', ],
132 'xcode_settings': { 'OTHER_CFLAGS': [ '-mavx2' ] }, 132 'xcode_settings': { 'OTHER_CFLAGS': [ '-mavx2' ] },
133 'msvs_settings': { 133 'msvs_settings': {
134 'VCCLCompilerTool': { 134 'VCCLCompilerTool': {
135 'EnableEnhancedInstructionSet': '5', # /arch:AVX2 135 'EnableEnhancedInstructionSet': '5', # /arch:AVX2
136 }, 136 },
137 }, 137 },
138 }, 138 },
139 ], 139 ],
140 } 140 }
OLDNEW
« no previous file with comments | « third_party/libvpx_new/libvpx_srcs_x86_64_intrinsics.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698