]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.target/arm/neon/vqshrn_ns32.c
re PR c/67784 (Incorrect parsing when using declarations in for loops and typedefs)
[thirdparty/gcc.git] / gcc / testsuite / gcc.target / arm / neon / vqshrn_ns32.c
CommitLineData
88f77cba
JB
1/* Test the `vqshrn_ns32' ARM Neon intrinsic. */
2/* This file was autogenerated by neon-testgen. */
3
4/* { dg-do assemble } */
5/* { dg-require-effective-target arm_neon_ok } */
0c422e74
DJ
6/* { dg-options "-save-temps -O0" } */
7/* { dg-add-options arm_neon } */
88f77cba
JB
8
9#include "arm_neon.h"
10
11void test_vqshrn_ns32 (void)
12{
13 int16x4_t out_int16x4_t;
14 int32x4_t arg0_int32x4_t;
15
16 out_int16x4_t = vqshrn_n_s32 (arg0_int32x4_t, 1);
17}
18
19/* { dg-final { scan-assembler "vqshrn\.s32\[ \]+\[dD\]\[0-9\]+, \[qQ\]\[0-9\]+, #\[0-9\]+!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */