Merged with mainline at revision 128810.
[official-gcc.git] / gcc / testsuite / gcc.target / arm / neon / vhadds16.c
blobd412ccced467c990dcb13a16e9048711cd54659f
1 /* Test the `vhadds16' 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" } */
8 #include "arm_neon.h"
10 void test_vhadds16 (void)
12 int16x4_t out_int16x4_t;
13 int16x4_t arg0_int16x4_t;
14 int16x4_t arg1_int16x4_t;
16 out_int16x4_t = vhadd_s16 (arg0_int16x4_t, arg1_int16x4_t);
19 /* { dg-final { scan-assembler "vhadd\.s16\[ \]+\[dD\]\[0-9\]+, \[dD\]\[0-9\]+, \[dD\]\[0-9\]+!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
20 /* { dg-final { cleanup-saved-temps } } */