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

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.dg/] [compat/] [union-m128-1_y.c] - Blame information for rev 384

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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