add macro to enable neon on IOS

This commit is contained in:
Huabing.Xu 2014-09-23 18:15:26 +08:00
parent 62697bbb42
commit e74b2f3164
1 changed files with 4 additions and 0 deletions

View File

@ -115,6 +115,10 @@ NS_CC_MATH_END
#define MATRIX_SIZE ( sizeof(float) * 16)
#ifdef __ARM_NEON__
#define USE_NEON
#endif
#ifdef USE_NEON
#include "MathUtilNeon.inl"
#else