X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/cd303963aec7291de8aabf9aa04d1423fe7dcac4..ea1b3cec199052eda3a0054d86c70e948c6e7580:/math/mpx-mul4-test.c?ds=sidebyside diff --git a/math/mpx-mul4-test.c b/math/mpx-mul4-test.c index 85a15327..5325db0f 100644 --- a/math/mpx-mul4-test.c +++ b/math/mpx-mul4-test.c @@ -61,6 +61,18 @@ static int cpu_features_p(void) { return (cpu_feature_p(CPUFEAT_X86_SSE2)); } static int cpu_features_p(void) { return (cpu_feature_p(CPUFEAT_X86_SSE2)); } #endif +#if CPUFAM_ARMEL +# define VARIANT _arm_neon +# define REPR_32 +static int cpu_features_p(void) { return (cpu_feature_p(CPUFEAT_ARM_NEON)); } +#endif + +#if CPUFAM_ARM64 +# define VARIANT _arm64_simd +# define REPR_32 +static int cpu_features_p(void) { return (1); } +#endif + #ifndef VARIANT # error "Unsupported CPU family." #endif