test: Fix ARM assembly tests compiled on target

This commit is contained in:
Antoine SOULIER
2022-07-29 15:37:39 +02:00
parent 2332274508
commit 7177a593e6
5 changed files with 13 additions and 7 deletions
+7 -1
View File
@@ -20,8 +20,14 @@
#include <arm_acle.h>
static inline int16x2_t __pkhbt(int16x2_t a, int16x2_t b)
{
int16x2_t r;
__asm("pkhbt %0, %1, %2" : "=r" (r) : "r" (a), "r" (b));
return r;
}
#else
#define __ARM_FEATURE_SIMD32 1
#include <stdint.h>
+1 -3
View File
@@ -16,13 +16,11 @@
*
******************************************************************************/
#if __ARM_NEON
#if __ARM_NEON && __ARM_ARCH_ISA_A64
#include <arm_neon.h>
#else
#define __ARM_NEON 1
#define __ARM_ARCH_ISA_A64 1
#include <stdint.h>