OLD | NEW |
1 # Copyright (c) 2014 Google Inc. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'sse_extensions', | 8 'target_name': 'sse_extensions', |
9 'type': 'executable', | 9 'type': 'executable', |
10 'msvs_settings': { | 10 'msvs_settings': { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 'type': 'executable', | 43 'type': 'executable', |
44 'msvs_settings': { | 44 'msvs_settings': { |
45 'VCCLCompilerTool': { | 45 'VCCLCompilerTool': { |
46 'EnableEnhancedInstructionSet': '4', # NoExtensions | 46 'EnableEnhancedInstructionSet': '4', # NoExtensions |
47 } | 47 } |
48 }, | 48 }, |
49 'sources': ['enable-enhanced-instruction-set.cc'], | 49 'sources': ['enable-enhanced-instruction-set.cc'], |
50 }, | 50 }, |
51 ], | 51 ], |
52 }], | 52 }], |
| 53 ['MSVS_VERSION[0:4]>="2013"', { |
| 54 'targets': [ |
| 55 { |
| 56 'target_name': 'avx2_extensions', |
| 57 'type': 'executable', |
| 58 'msvs_settings': { |
| 59 'VCCLCompilerTool': { |
| 60 'EnableEnhancedInstructionSet': '5', # AdvancedVectorExtensions2 |
| 61 } |
| 62 }, |
| 63 'sources': ['enable-enhanced-instruction-set.cc'], |
| 64 }, |
| 65 ], |
| 66 }], |
53 ], | 67 ], |
54 } | 68 } |
OLD | NEW |