[ARM] Fix test armv8_2-fp16-move-1.c
[official-gcc.git] / gcc / testsuite / gcc.target / arm / neon-vdup-9.c
blob3ae8a339327645f3b2b761ce33ca9a500e2b2655
1 /* Test the optimization of `vdupq_n_u32' ARM Neon intrinsic. */
3 /* { dg-do compile } */
4 /* { dg-require-effective-target arm_neon_ok } */
5 /* { dg-options "-O2" } */
6 /* { dg-add-options arm_neon } */
8 #include <arm_neon.h>
10 uint32x4_t out_uint32x4_t;
11 void test_vdupq_nu32 (void)
13 out_uint32x4_t = vdupq_n_u32 (~0x120000);
16 /* { dg-final { scan-assembler "vmov\.i32\[ \]+\[qQ\]\[0-9\]+, #4293787647\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */