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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [i386/] [sse-16.c] - Rev 816

Compare with Previous | Blame | View Log

/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-O0 -msse" } */
 
typedef float __vr __attribute__ ((vector_size (16)));
 
struct vector
{
  union
  {
    __vr v;
    float f[4];
  };
};
 
void
doit ()
{
  float f[4];
  struct vector v;
 
  f[0] = 0;
  f[1] = 1;
  f[2] = 2;
  f[3] = 3;
 
  v.v = __builtin_ia32_loadups (f);
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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