Merged with mainline at revision 128810.
[official-gcc.git] / gcc / testsuite / gcc.target / arm / neon / vdup_ns8.c
blob0d39eec6d36a7c32d610ec9a3c732f32dc0cb45f
1 /* Test the `vdup_ns8' 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_vdup_ns8 (void)
12 int8x8_t out_int8x8_t;
13 int8_t arg0_int8_t;
15 out_int8x8_t = vdup_n_s8 (arg0_int8_t);
18 /* { dg-final { scan-assembler "vdup\.8\[ \]+\[dD\]\[0-9\]+, \[rR\]\[0-9\]+!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
19 /* { dg-final { cleanup-saved-temps } } */