Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/compat/union-m128-1_x.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { 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 } |