libstdc++: Move gcc.gnu.org and sourceware.org links to https
[official-gcc.git] / gcc / testsuite / gcc.target / arm / neon-vdup-14.c
blob851907b4bb4c036f5257d2011f1da4d5737acd77
1 /* Test the optimization of `vdupq_n_u16' 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 uint16x8_t out_uint16x8_t;
11 void test_vdupq_nu16 (void)
13 out_uint16x8_t = vdupq_n_u16 (~0x1200);
16 /* { dg-final { scan-assembler "vmov\.i16\[ \]+\[qQ\]\[0-9\]+, #60927\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */