Revision: 13175
Author: [email protected]
Date: Fri Dec 7 07:28:40 2012
Log: Define CAN_USE_VFP2/3_INSTRUCTIONS based on arm_neon and arm_fpu
flags.
[email protected]
Review URL: https://chromiumcodereview.appspot.com/11472023
http://code.google.com/p/v8/source/detail?r=13175
Modified:
/branches/bleeding_edge/build/common.gypi
=======================================
--- /branches/bleeding_edge/build/common.gypi Fri Nov 30 02:14:21 2012
+++ /branches/bleeding_edge/build/common.gypi Fri Dec 7 07:28:40 2012
@@ -143,12 +143,16 @@
'CAN_USE_UNALIGNED_ACCESSES=0',
],
}],
- [ 'v8_can_use_vfp2_instructions=="true"', {
+ # NEON implies VFP3 and VFP3 implies VFP2.
+ [ 'v8_can_use_vfp2_instructions=="true" or arm_neon==1 or \
+ arm_fpu=="vfpv3" or arm_fpu=="vfpv3-d16"', {
'defines': [
'CAN_USE_VFP2_INSTRUCTIONS',
],
}],
- [ 'v8_can_use_vfp3_instructions=="true"', {
+ # NEON implies VFP3.
+ [ 'v8_can_use_vfp3_instructions=="true" or arm_neon==1 or \
+ arm_fpu=="vfpv3" or arm_fpu=="vfpv3-d16"', {
'defines': [
'CAN_USE_VFP3_INSTRUCTIONS',
],
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev