OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [compat/] [union-m128-1_x.c] - Rev 154

Compare with Previous | Blame | View Log

/* { dg-options "-O" } */
 
#ifdef __x86_64__
#include "union-m128-1.h"
 
SS_union_mi128 un;
SS_struct_mi128 st;
 
extern void bar ();
extern void foo ();
 
void
union_m128_1_x ()
{
  union_mi128 x;
 
  x.u [0] = 0x123456789abcedf0LL;
  x.u [1] = 0xfedcba9876543210LL;
  un.x = x.x;
  st.x = x.x;
  bar(un);
  bar(st);
  foo(un);
  foo(st);
}
#else
int dummy_x;
#endif
 
 

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.