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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [sse-16.c] - Blame information for rev 691

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O0 -msse" } */
3
 
4
typedef float __vr __attribute__ ((vector_size (16)));
5
 
6
struct vector
7
{
8
  union
9
  {
10
    __vr v;
11
    float f[4];
12
  };
13
};
14
 
15
void
16
doit ()
17
{
18
  float f[4];
19
  struct vector v;
20
 
21
  f[0] = 0;
22
  f[1] = 1;
23
  f[2] = 2;
24
  f[3] = 3;
25
 
26
  v.v = __builtin_ia32_loadups (f);
27
}

powered by: WebSVN 2.1.0

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