1 /* Test the `vRshrn_nu16' 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 
test_vRshrn_nu16(void)11 void test_vRshrn_nu16 (void)
12 {
13   uint8x8_t out_uint8x8_t;
14   uint16x8_t arg0_uint16x8_t;
15 
16   out_uint8x8_t = vrshrn_n_u16 (arg0_uint16x8_t, 1);
17 }
18 
19 /* { dg-final { scan-assembler "vrshrn\.i16\[ 	\]+\[dD\]\[0-9\]+, \[qQ\]\[0-9\]+, #\[0-9\]+!?\(\[ 	\]+@\[a-zA-Z0-9 \]+\)?\n" } } */
20