summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/neon/vdup_np8.c
blob: 80d29e860f2f8cdde6a7e6203b79d1920ed6a4bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* Test the `vdup_np8' ARM Neon intrinsic.  */
/* This file was autogenerated by neon-testgen.  */

/* { dg-do assemble } */
/* { dg-require-effective-target arm_neon_ok } */
/* { dg-options "-save-temps -O0" } */
/* { dg-add-options arm_neon } */

#include "arm_neon.h"

void test_vdup_np8 (void)
{
  poly8x8_t out_poly8x8_t;
  poly8_t arg0_poly8_t;

  out_poly8x8_t = vdup_n_p8 (arg0_poly8_t);
}

/* { dg-final { scan-assembler "vdup\.8\[ 	\]+\[dD\]\[0-9\]+, (\[rR\]\[0-9\]+|\[dD\]\[0-9\]+\\\[\[0-9\]+\\\])!?\(\[ 	\]+@\[a-zA-Z0-9 \]+\)?\n" } } */
/* { dg-final { cleanup-saved-temps } } */