]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.target/arm/neon/vbslQp16.c
re PR c/67784 (Incorrect parsing when using declarations in for loops and typedefs)
[thirdparty/gcc.git] / gcc / testsuite / gcc.target / arm / neon / vbslQp16.c
1 /* Test the `vbslQp16' ARM Neon intrinsic. */
2 /* This file was autogenerated by neon-testgen. */
3
4 /* { dg-do assemble } */
5 /* { dg-require-effective-target arm_neon_ok } */
6 /* { dg-options "-save-temps -O0" } */
7 /* { dg-add-options arm_neon } */
8
9 #include "arm_neon.h"
10
11 void test_vbslQp16 (void)
12 {
13 poly16x8_t out_poly16x8_t;
14 uint16x8_t arg0_uint16x8_t;
15 poly16x8_t arg1_poly16x8_t;
16 poly16x8_t arg2_poly16x8_t;
17
18 out_poly16x8_t = vbslq_p16 (arg0_uint16x8_t, arg1_poly16x8_t, arg2_poly16x8_t);
19 }
20
21 /* { dg-final { scan-assembler "((vbsl)|(vbit)|(vbif))\[ \]+\[qQ\]\[0-9\]+, \[qQ\]\[0-9\]+, \[qQ\]\[0-9\]+!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */