| Index: build/toolchain.gypi
|
| diff --git a/build/toolchain.gypi b/build/toolchain.gypi
|
| index a9958ce8d66b2cc879ca08d5e30681501cc5c023..9d48c147722407c7fded44a56acf5ca7b116dee8 100644
|
| --- a/build/toolchain.gypi
|
| +++ b/build/toolchain.gypi
|
| @@ -157,6 +157,7 @@
|
| 'defines': [
|
| 'CAN_USE_VFP3_INSTRUCTIONS',
|
| 'CAN_USE_VFP32DREGS',
|
| + 'CAN_USE_NEON',
|
| ],
|
| }],
|
| ],
|
| @@ -215,6 +216,26 @@
|
| 'defines': [
|
| 'ARM_TEST',
|
| ],
|
| + 'conditions': [
|
| + [ 'arm_fpu=="vfpv3-d16"', {
|
| + 'defines': [
|
| + 'CAN_USE_VFP3_INSTRUCTIONS',
|
| + ],
|
| + }],
|
| + [ 'arm_fpu=="vfpv3"', {
|
| + 'defines': [
|
| + 'CAN_USE_VFP3_INSTRUCTIONS',
|
| + 'CAN_USE_VFP32DREGS',
|
| + ],
|
| + }],
|
| + [ 'arm_fpu=="neon"', {
|
| + 'defines': [
|
| + 'CAN_USE_VFP3_INSTRUCTIONS',
|
| + 'CAN_USE_VFP32DREGS',
|
| + 'CAN_USE_NEON',
|
| + ],
|
| + }],
|
| + ],
|
| }],
|
| ],
|
| }, {
|
| @@ -228,6 +249,8 @@
|
| [ 'arm_fpu=="default"', {
|
| 'defines': [
|
| 'CAN_USE_VFP3_INSTRUCTIONS',
|
| + 'CAN_USE_VFP32DREGS',
|
| + 'CAN_USE_NEON',
|
| ],
|
| }],
|
| [ 'arm_fpu=="vfpv3-d16"', {
|
| @@ -245,6 +268,7 @@
|
| 'defines': [
|
| 'CAN_USE_VFP3_INSTRUCTIONS',
|
| 'CAN_USE_VFP32DREGS',
|
| + 'CAN_USE_NEON',
|
| ],
|
| }],
|
| ],
|
|
|