Add execution + assembler tests of AArch64 TRN Intrinsics.
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / simd / vtrnp16_1.c
blobb6851266e26a271fcd7cbeddacb88f6070727335
1 /* Test the `vtrn_p16' AArch64 SIMD intrinsic. */
3 /* { dg-do run } */
4 /* { dg-options "-save-temps -fno-inline" } */
6 #include <arm_neon.h>
7 #include "vtrnp16.x"
9 /* { dg-final { scan-assembler-times "trn1\[ \t\]+v\[0-9\]+\.4h, ?v\[0-9\]+\.4h, ?v\[0-9\]+\.4h!?\(?:\[ \t\]+@\[a-zA-Z0-9 \]+\)?\n" 1 } } */
10 /* { dg-final { scan-assembler-times "trn2\[ \t\]+v\[0-9\]+\.4h, ?v\[0-9\]+\.4h, ?v\[0-9\]+\.4h!?\(?:\[ \t\]+@\[a-zA-Z0-9 \]+\)?\n" 1 } } */
11 /* { dg-final { cleanup-saved-temps } } */