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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [sse-16.c] - Blame information for rev 318

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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