Reviewers: Jakob,
Message:
PTAL
Description:
Define CAN_USE_VFP2/3_INSTRUCTIONS based on arm_neon and arm_fpu flags.
[email protected]
Please review this at https://chromiumcodereview.appspot.com/11472023/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M build/common.gypi
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index
03a0ecafddaf306d0ab439770dc982e3fc45b6de..7b51ab0acfd937bf2bf8fdc6515f6cfff83c3cfd
100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -143,12 +143,14 @@
'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