Displaying 2 results from an estimated 2 matches for "neon_vector_type".
2011 Nov 23
4
[LLVMdev] arm neon intrinsics cross compile error on windows system
...error-limit=1000
and the followings are error codes.
Thanks and regards,
Seung-yeon.
In file included from helloneon.c:4:
d:/llvm_projects/llvm-3.0rc4/bin/../lib/clang/3.0/include\arm_neon.h:41:24:
error: invalid vector element type 'int32_t' (aka 'long')
typedef __attribute__((neon_vector_type(2))) int32_t int32x2_t;
^
d:/llvm_projects/llvm-3.0rc4/bin/../lib/clang/3.0/include\arm_neon.h:42:24:
error: invalid vector element type 'int32_t' (aka 'long')
typedef __attribute__((neon_vector_type(4))) int32_t int32x4_t;
^
d:/llvm_p...
2019 Jul 12
2
[cfe-dev] ARM float16 intrinsic test
..._BUILD="X86;NVPTX;AMDGPU;ARM;AArch64"
[arm.cpp]
#define vst4_lane_f16(__p0, __p1, __p2) __extension__ ({ \
float16x4x4_t __s1 = __p1; \
__builtin_neon_vst4_lane_v(__p0, __s1.val[0], __s1.val[1], __s1.val[2],
__s1.val[3], __p2, 8); \
})
typedef __fp16 float16_t;
typedef __attribute__((neon_vector_type(4))) float16_t float16x4_t;
typedef struct float16x4x4_t {
float16x4_t val[4];
} float16x4x4_t;
void test_vst4_lane_f16(float16_t * a, float16x4x4_t b) {
vst4_lane_f16(a, b, 3);
}
I tried:
$$COMP_ROOT/clang -cc1 -triple thumbv7s-apple-darwin -target-abi apcs-gnu
-target-cpu swift -fallow-half-...