fix when compiling without neither limbvec or sleef

This commit is contained in:
Florian Ballenegger 2020-08-10 23:25:46 +02:00
parent 65f58e1eb8
commit d3540525ca
3 changed files with 29 additions and 4 deletions

View File

@ -75,7 +75,18 @@ Vec2d _ZGVbN2vv_pow(Vec2d, Vec2d);
#define vecN_pow vec2_pow
#define vec2_fabs vecN_fabs
#endif /* HAS_LIBMVEC */
#else /* HAS_LIBMVEC */
#define vec2_exp vecN_exp
#define vec2_log vecN_log
#define vec2_pow vecN_pow
#define vec2_fabs vecN_fabs
#ifndef USEX86INTRINSICS
#define vec2_MAX vecN_MAX
#define vec2_sqrt vecN_sqrt
#endif
#endif
#endif /* not USE_LIBSLEEF */
#ifdef USE_SERIAL_FORM

View File

@ -75,7 +75,19 @@ Vec4d _ZGVdN4vv_pow(Vec4d, Vec4d);
#define vecN_pow vec4_pow
#define vec4_fabs vecN_fabs
#endif /* HAS_LIBMVEC */
#else /* HAS_LIBMVEC */
#define vec4_exp vecN_exp
#define vec4_log vecN_log
#define vec4_pow vecN_pow
#define vec4_fabs vecN_fabs
#ifndef USEX86INTRINSICS
#define vec4_MAX vecN_MAX
#define vec4_sqrt vecN_sqrt
#endif
#endif
#endif /* not USE_LIBSLEEF */
#ifdef USE_SERIAL_FORM

View File

@ -51,10 +51,12 @@
#define vec8_exp vecN_exp
#define vec8_log vecN_log
#define vec8_MAX vecN_MAX
#define vec8_sqrt vecN_sqrt
#define vec8_fabs vecN_fabs
#define vec8_pow vecN_pow
#ifndef USEX86INTRINSICS
#define vec8_MAX vecN_MAX
#define vec8_sqrt vecN_sqrt
#endif
#endif /* USE_LIBSLEEF */