OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [arm/] [neon-vst3-1.c] - Blame information for rev 714

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do run } */
2
/* { dg-require-effective-target arm_neon_hw } */
3
/* { dg-options "-O2" } */
4
/* { dg-add-options arm_neon } */
5
 
6
#include "arm_neon.h"
7
 
8
uint32_t buffer[64];
9
 
10
void __attribute__((noinline))
11
foo (uint32_t *a)
12
{
13
  uint32x4x3_t x;
14
 
15
  x = vld3q_u32 (a);
16
  a[35] = 1;
17
  vst3q_lane_u32 (a + 32, x, 1);
18
}
19
 
20
int
21
main (void)
22
{
23
  foo (buffer);
24
  return buffer[35] != 1;
25
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.