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

Side by Side Diff: test/win/compiler-flags/enable-enhanced-instruction-set.gyp

Issue 195283002: Add support for VCCLCompilerTool EnableEnhancedInstructionSet setting. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright (c) 2014 Google Inc. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6 'targets': [
7 {
8 'target_name': 'sse_extensions',
9 'type': 'executable',
10 'msvs_settings': {
11 'VCCLCompilerTool': {
12 'EnableEnhancedInstructionSet': '1', # StreamingSIMDExtensions
13 }
14 },
15 'sources': ['enable-enhanced-instruction-set.cc'],
16 },
17 {
18 'target_name': 'sse2_extensions',
19 'type': 'executable',
20 'msvs_settings': {
21 'VCCLCompilerTool': {
22 'EnableEnhancedInstructionSet': '2', # StreamingSIMDExtensions2
23 }
24 },
25 'sources': ['enable-enhanced-instruction-set.cc'],
26 },
27 ],
28 'conditions': [
29 ['MSVS_VERSION[0:4]>"2010"', {
30 'targets': [
31 {
32 'target_name': 'avx_extensions',
33 'type': 'executable',
34 'msvs_settings': {
35 'VCCLCompilerTool': {
36 'EnableEnhancedInstructionSet': '3', # AdvancedVectorExtensions
37 }
38 },
39 'sources': ['enable-enhanced-instruction-set.cc'],
40 },
41 {
42 'target_name': 'no_extensions',
43 'type': 'executable',
44 'msvs_settings': {
45 'VCCLCompilerTool': {
46 'EnableEnhancedInstructionSet': '4', # NoExtensions
47 }
48 },
49 'sources': ['enable-enhanced-instruction-set.cc'],
50 },
scottmg 2014/03/11 16:32:58 Could you add an "unset" test too? It changed from
grt (UTC plus 2) 2014/03/11 17:08:45 I thought about that. I would need to add a condit
51 ],
52 }],
53 ],
54 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698