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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [compat/] [union-m128-1_x.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-options "-O" } */
2
 
3
#ifdef __x86_64__
4
#include "union-m128-1.h"
5
 
6
SS_union_mi128 un;
7
SS_struct_mi128 st;
8
 
9
extern void bar ();
10
extern void foo ();
11
 
12
void
13
union_m128_1_x ()
14
{
15
  union_mi128 x;
16
 
17
  x.u [0] = 0x123456789abcedf0LL;
18
  x.u [1] = 0xfedcba9876543210LL;
19
  un.x = x.x;
20
  st.x = x.x;
21
  bar(un);
22
  bar(st);
23
  foo(un);
24
  foo(st);
25
}
26
#else
27
int dummy_x;
28
#endif
29
 

powered by: WebSVN 2.1.0

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