2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / neon-vst3-1.c
bloba3bee6cb56f20b514e0b20f5364747ead63fce50
1 /* { dg-do run } */
2 /* { dg-require-effective-target arm_neon_hw } */
3 /* { dg-options "-O2" } */
4 /* { dg-add-options arm_neon } */
6 #include "arm_neon.h"
8 uint32_t buffer[64];
10 void __attribute__((noinline))
11 foo (uint32_t *a)
13 uint32x4x3_t x;
15 x = vld3q_u32 (a);
16 a[35] = 1;
17 vst3q_lane_u32 (a + 32, x, 1);
20 int
21 main (void)
23 foo (buffer);
24 return buffer[35] != 1;