summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/neon-offset-1.c
blob: 91dde6a20d9901ebc0a8edda776c72b702278794 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { 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(int32x4_t *dst, char *src)
{
  *dst = *(int32x4_t *)(src+1008);
}