which are not part of the ACLE. These intrinsics are currently exposed through arm_neon.h, thus allowing developers to write code that will not be compatible with other toolchains (e.g. GNU).
For example a test.c as follows:
include
poly16x4_t neon_test(poly16x4_t a) { return vceqz_p16(a); }
Extended Description
Clang supports the following C/C++ intrinsics:
which are not part of the ACLE. These intrinsics are currently exposed through arm_neon.h, thus allowing developers to write code that will not be compatible with other toolchains (e.g. GNU).
For example a test.c as follows:
include
poly16x4_t neon_test(poly16x4_t a) { return vceqz_p16(a); }
Compiled with:
clang --target=aarch64-arm-none-eabi -c ~/test.c -o /dev/null
passes, but it should throw an error.