Merged with mainline at revision 128810.
[official-gcc.git] / gcc / testsuite / gcc.target / arm / neon / vdup_nu8.c
blob4d6ab331a9635f94d82d3e14a8a591690ae21f01
1 /* Test the `vdup_nu8' 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_nu8 (void)
12 uint8x8_t out_uint8x8_t;
13 uint8_t arg0_uint8_t;
15 out_uint8x8_t = vdup_n_u8 (arg0_uint8_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 } } */