OLD | NEW |
---|---|
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 Loading... | |
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 arm_fpu=="vf pv3" or arm_fpu=="vfpv3-d16"', { | |
Jakob Kummerow
2012/12/07 15:03:45
nit: 80 columns please. You can use \ at the end o
ulan
2012/12/07 15:08:54
Done.
| |
147 'defines': [ | 148 'defines': [ |
148 'CAN_USE_VFP2_INSTRUCTIONS', | 149 'CAN_USE_VFP2_INSTRUCTIONS', |
149 ], | 150 ], |
150 }], | 151 }], |
151 [ 'v8_can_use_vfp3_instructions=="true"', { | 152 # NEON implies VFP3. |
153 [ 'v8_can_use_vfp3_instructions=="true" or arm_neon==1 or arm_fpu=="vf pv3" or arm_fpu=="vfpv3-d16"', { | |
152 'defines': [ | 154 'defines': [ |
153 'CAN_USE_VFP3_INSTRUCTIONS', | 155 'CAN_USE_VFP3_INSTRUCTIONS', |
154 ], | 156 ], |
155 }], | 157 }], |
156 [ 'v8_use_arm_eabi_hardfloat=="true"', { | 158 [ 'v8_use_arm_eabi_hardfloat=="true"', { |
157 'defines': [ | 159 'defines': [ |
158 'USE_EABI_HARDFLOAT=1', | 160 'USE_EABI_HARDFLOAT=1', |
159 'CAN_USE_VFP3_INSTRUCTIONS', | 161 'CAN_USE_VFP3_INSTRUCTIONS', |
160 ], | 162 ], |
161 'target_conditions': [ | 163 'target_conditions': [ |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
449 'OptimizeReferences': '2', | 451 'OptimizeReferences': '2', |
450 'EnableCOMDATFolding': '2', | 452 'EnableCOMDATFolding': '2', |
451 }, | 453 }, |
452 }, | 454 }, |
453 }], # OS=="win" | 455 }], # OS=="win" |
454 ], # conditions | 456 ], # conditions |
455 }, # Release | 457 }, # Release |
456 }, # configurations | 458 }, # configurations |
457 }, # target_defaults | 459 }, # target_defaults |
458 } | 460 } |
OLD | NEW |