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

Side by Side Diff: build/toolchain.gypi

Issue 322423003: ARM: add AArch32 support and new vcvt instructions (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | src/arm/assembler-arm.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 the V8 project authors. All rights reserved. 1 # Copyright 2013 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 'V8_TARGET_ARCH_ARM', 90 'V8_TARGET_ARCH_ARM',
91 ], 91 ],
92 'target_conditions': [ 92 'target_conditions': [
93 ['_toolset=="host"', { 93 ['_toolset=="host"', {
94 'variables': { 94 'variables': {
95 'armcompiler': '<!($(echo ${CXX_host:-$(which g++)}) -v 2>&1 | gre p -q "^Target: arm" && echo "yes" || echo "no")', 95 'armcompiler': '<!($(echo ${CXX_host:-$(which g++)}) -v 2>&1 | gre p -q "^Target: arm" && echo "yes" || echo "no")',
96 }, 96 },
97 'conditions': [ 97 'conditions': [
98 ['armcompiler=="yes"', { 98 ['armcompiler=="yes"', {
99 'conditions': [ 99 'conditions': [
100 [ 'arm_version==8', {
101 'cflags': ['-march=armv8-a',],
102 }],
100 [ 'arm_version==7', { 103 [ 'arm_version==7', {
101 'cflags': ['-march=armv7-a',], 104 'cflags': ['-march=armv7-a',],
102 }], 105 }],
103 [ 'arm_version==7 or arm_version=="default"', { 106 [ 'arm_version>=7 or arm_version=="default"', {
104 'conditions': [ 107 'conditions': [
105 [ 'arm_fpu!="default"', { 108 [ 'arm_fpu!="default"', {
106 'cflags': ['-mfpu=<(arm_fpu)',], 109 'cflags': ['-mfpu=<(arm_fpu)',],
107 }], 110 }],
108 ], 111 ],
109 }], 112 }],
110 [ 'arm_float_abi!="default"', { 113 [ 'arm_float_abi!="default"', {
111 'cflags': ['-mfloat-abi=<(arm_float_abi)',], 114 'cflags': ['-mfloat-abi=<(arm_float_abi)',],
112 }], 115 }],
113 [ 'arm_thumb==1', { 116 [ 'arm_thumb==1', {
114 'cflags': ['-mthumb',], 117 'cflags': ['-mthumb',],
115 }], 118 }],
116 [ 'arm_thumb==0', { 119 [ 'arm_thumb==0', {
117 'cflags': ['-marm',], 120 'cflags': ['-marm',],
118 }], 121 }],
119 [ 'arm_test=="on"', { 122 [ 'arm_test=="on"', {
120 'defines': [ 123 'defines': [
121 'ARM_TEST', 124 'ARM_TEST',
122 ], 125 ],
123 }], 126 }],
124 ], 127 ],
125 }, { 128 }, {
126 # armcompiler=="no" 129 # armcompiler=="no"
127 'conditions': [ 130 'conditions': [
131 [ 'arm_version==8', {
132 'defines': [
133 'CAN_USE_ARMV8_INSTRUCTIONS=1',
134 'CAN_USE_ARMV7_INSTRUCTIONS=1',
135 'CAN_USE_VFP3_INSTRUCTIONS',
136 'CAN_USE_VFP32DREGS',
137 'CAN_USE_NEON',
138 ],
139 }],
128 [ 'arm_version==7 or arm_version=="default"', { 140 [ 'arm_version==7 or arm_version=="default"', {
129 'defines': [ 141 'defines': [
130 'CAN_USE_ARMV7_INSTRUCTIONS=1', 142 'CAN_USE_ARMV7_INSTRUCTIONS=1',
131 ], 143 ],
132 'conditions': [ 144 'conditions': [
133 [ 'arm_fpu=="default"', { 145 [ 'arm_fpu=="default"', {
134 'defines': [ 146 'defines': [
135 'CAN_USE_VFP3_INSTRUCTIONS', 147 'CAN_USE_VFP3_INSTRUCTIONS',
136 ], 148 ],
137 }], 149 }],
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 }], 184 }],
173 ], 185 ],
174 }], # _toolset=="host" 186 }], # _toolset=="host"
175 ['_toolset=="target"', { 187 ['_toolset=="target"', {
176 'variables': { 188 'variables': {
177 'armcompiler': '<!($(echo ${CXX_target:-<(CXX)}) -v 2>&1 | grep -q "^Target: arm" && echo "yes" || echo "no")', 189 'armcompiler': '<!($(echo ${CXX_target:-<(CXX)}) -v 2>&1 | grep -q "^Target: arm" && echo "yes" || echo "no")',
178 }, 190 },
179 'conditions': [ 191 'conditions': [
180 ['armcompiler=="yes"', { 192 ['armcompiler=="yes"', {
181 'conditions': [ 193 'conditions': [
194 [ 'arm_version==8', {
195 'cflags': ['-march=armv8-a',],
196 }],
182 [ 'arm_version==7', { 197 [ 'arm_version==7', {
183 'cflags': ['-march=armv7-a',], 198 'cflags': ['-march=armv7-a',],
184 }], 199 }],
185 [ 'arm_version==7 or arm_version=="default"', { 200 [ 'arm_version>=7 or arm_version=="default"', {
186 'conditions': [ 201 'conditions': [
187 [ 'arm_fpu!="default"', { 202 [ 'arm_fpu!="default"', {
188 'cflags': ['-mfpu=<(arm_fpu)',], 203 'cflags': ['-mfpu=<(arm_fpu)',],
189 }], 204 }],
190 ], 205 ],
191 }], 206 }],
192 [ 'arm_float_abi!="default"', { 207 [ 'arm_float_abi!="default"', {
193 'cflags': ['-mfloat-abi=<(arm_float_abi)',], 208 'cflags': ['-mfloat-abi=<(arm_float_abi)',],
194 }], 209 }],
195 [ 'arm_thumb==1', { 210 [ 'arm_thumb==1', {
(...skipping 24 matching lines...) Expand all
220 'CAN_USE_VFP32DREGS', 235 'CAN_USE_VFP32DREGS',
221 'CAN_USE_NEON', 236 'CAN_USE_NEON',
222 ], 237 ],
223 }], 238 }],
224 ], 239 ],
225 }], 240 }],
226 ], 241 ],
227 }, { 242 }, {
228 # armcompiler=="no" 243 # armcompiler=="no"
229 'conditions': [ 244 'conditions': [
245 [ 'arm_version==8', {
246 'defines': [
247 'CAN_USE_ARMV8_INSTRUCTIONS=1',
248 'CAN_USE_ARMV7_INSTRUCTIONS=1',
249 'CAN_USE_VFP3_INSTRUCTIONS',
250 'CAN_USE_VFP32DREGS',
251 'CAN_USE_NEON',
252 ],
253 }],
230 [ 'arm_version==7 or arm_version=="default"', { 254 [ 'arm_version==7 or arm_version=="default"', {
231 'defines': [ 255 'defines': [
232 'CAN_USE_ARMV7_INSTRUCTIONS=1', 256 'CAN_USE_ARMV7_INSTRUCTIONS=1',
233 ], 257 ],
234 'conditions': [ 258 'conditions': [
235 [ 'arm_fpu=="default"', { 259 [ 'arm_fpu=="default"', {
236 'defines': [ 260 'defines': [
237 'CAN_USE_VFP3_INSTRUCTIONS', 261 'CAN_USE_VFP3_INSTRUCTIONS',
238 'CAN_USE_VFP32DREGS', 262 'CAN_USE_VFP32DREGS',
239 'CAN_USE_NEON', 263 'CAN_USE_NEON',
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 'OptimizeReferences': '2', 831 'OptimizeReferences': '2',
808 'EnableCOMDATFolding': '2', 832 'EnableCOMDATFolding': '2',
809 }, 833 },
810 }, 834 },
811 }], # OS=="win" 835 }], # OS=="win"
812 ], # conditions 836 ], # conditions
813 }, # Release 837 }, # Release
814 }, # configurations 838 }, # configurations
815 }, # target_defaults 839 }, # target_defaults
816 } 840 }
OLDNEW
« no previous file with comments | « no previous file | src/arm/assembler-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698