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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [compat/] [union-m128-1_x.c] - Blame information for rev 689

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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