summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/neon-modes-1.c
blob: 6ee13af014295cd4e16a0440337eee92405620e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-require-effective-target arm_neon_ok } */
/* { dg-options "-O1" } */
/* { dg-add-options arm_neon } */

#include <arm_neon.h>

void neon_internal_error(int *dst, int *src)
{
  uint16x8x4_t sval;

  sval = vld4q_u16((void *)src);
  vst4q_u16((void *)dst,sval);
}