1 /* Test the `vqshrn_ns16' ARM Neon intrinsic. */
2 /* This file was autogenerated by neon-testgen. */
4 /* { dg-do assemble } */
5 /* { dg-require-effective-target arm_neon_ok } */
6 /* { dg-options "-save-temps -O0 -mfpu=neon -mfloat-abi=softfp" } */
10 void test_vqshrn_ns16 (void)
12 int8x8_t out_int8x8_t
;
13 int16x8_t arg0_int16x8_t
;
15 out_int8x8_t
= vqshrn_n_s16 (arg0_int16x8_t
, 1);
18 /* { dg-final { scan-assembler "vqshrn\.s16\[ \]+\[dD\]\[0-9\]+, \[qQ\]\[0-9\]+, #\[0-9\]+!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
19 /* { dg-final { cleanup-saved-temps } } */