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

#include <arm_neon.h>

uint8x16_t
foo (uint8_t *a, uint8x16_t b)
{
  vst1q_lane_u8 (a, b, 14);
  return vld1q_lane_u8 (a + 0x100, b, 15);
}