PR c/67784
[official-gcc.git] / gcc / testsuite / gcc.target / arm / neon / vdup_ns16.c
blobc3cc4d02850be0418095aa06739336c93517ca17
1 /* Test the `vdup_ns16' 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" } */
7 /* { dg-add-options arm_neon } */
9 #include "arm_neon.h"
11 void test_vdup_ns16 (void)
13 int16x4_t out_int16x4_t;
14 int16_t arg0_int16_t;
16 out_int16x4_t = vdup_n_s16 (arg0_int16_t);
19 /* { dg-final { scan-assembler "vdup\.16\[ \]+\[dD\]\[0-9\]+, (\[rR\]\[0-9\]+|\[dD\]\[0-9\]+\\\[\[0-9\]+\\\])!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */