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

Side by Side Diff: build/common.gypi

Issue 11472023: Define CAN_USE_VFP2/3_INSTRUCTIONS based on arm_neon and arm_fpu flags. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years 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 | 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 # Copyright 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 [ 'v8_can_use_unaligned_accesses=="true"', { 136 [ 'v8_can_use_unaligned_accesses=="true"', {
137 'defines': [ 137 'defines': [
138 'CAN_USE_UNALIGNED_ACCESSES=1', 138 'CAN_USE_UNALIGNED_ACCESSES=1',
139 ], 139 ],
140 }], 140 }],
141 [ 'v8_can_use_unaligned_accesses=="false"', { 141 [ 'v8_can_use_unaligned_accesses=="false"', {
142 'defines': [ 142 'defines': [
143 'CAN_USE_UNALIGNED_ACCESSES=0', 143 'CAN_USE_UNALIGNED_ACCESSES=0',
144 ], 144 ],
145 }], 145 }],
146 [ 'v8_can_use_vfp2_instructions=="true"', { 146 # NEON implies VFP3 and VFP3 implies VFP2.
147 [ 'v8_can_use_vfp2_instructions=="true" or arm_neon==1 or \
148 arm_fpu=="vfpv3" or arm_fpu=="vfpv3-d16"', {
147 'defines': [ 149 'defines': [
148 'CAN_USE_VFP2_INSTRUCTIONS', 150 'CAN_USE_VFP2_INSTRUCTIONS',
149 ], 151 ],
150 }], 152 }],
151 [ 'v8_can_use_vfp3_instructions=="true"', { 153 # NEON implies VFP3.
154 [ 'v8_can_use_vfp3_instructions=="true" or arm_neon==1 or \
155 arm_fpu=="vfpv3" or arm_fpu=="vfpv3-d16"', {
152 'defines': [ 156 'defines': [
153 'CAN_USE_VFP3_INSTRUCTIONS', 157 'CAN_USE_VFP3_INSTRUCTIONS',
154 ], 158 ],
155 }], 159 }],
156 [ 'v8_use_arm_eabi_hardfloat=="true"', { 160 [ 'v8_use_arm_eabi_hardfloat=="true"', {
157 'defines': [ 161 'defines': [
158 'USE_EABI_HARDFLOAT=1', 162 'USE_EABI_HARDFLOAT=1',
159 'CAN_USE_VFP3_INSTRUCTIONS', 163 'CAN_USE_VFP3_INSTRUCTIONS',
160 ], 164 ],
161 'target_conditions': [ 165 'target_conditions': [
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 'OptimizeReferences': '2', 453 'OptimizeReferences': '2',
450 'EnableCOMDATFolding': '2', 454 'EnableCOMDATFolding': '2',
451 }, 455 },
452 }, 456 },
453 }], # OS=="win" 457 }], # OS=="win"
454 ], # conditions 458 ], # conditions
455 }, # Release 459 }, # Release
456 }, # configurations 460 }, # configurations
457 }, # target_defaults 461 }, # target_defaults
458 } 462 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698