1 /* Test the `vexts32' 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_vexts32(void)11 void test_vexts32 (void)
12 {
13   int32x2_t out_int32x2_t;
14   int32x2_t arg0_int32x2_t;
15   int32x2_t arg1_int32x2_t;
16 
17   out_int32x2_t = vext_s32 (arg0_int32x2_t, arg1_int32x2_t, 0);
18 }
19 
20 /* { dg-final { scan-assembler "vext\.32\[ 	\]+\[dD\]\[0-9\]+, \[dD\]\[0-9\]+, \[dD\]\[0-9\]+, #\[0-9\]+!?\(\[ 	\]+@\[a-zA-Z0-9 \]+\)?\n" } } */
21 /* { dg-final { cleanup-saved-temps } } */
22