repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[testsuite] require sqrt_insn effective target where needed
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
powerpc
/
pr63491.c
blob
9f7f46072863ac8db64415f5f105b1ef6fa0fd20
1
/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
2
/* { dg-options "-O1 -mdejagnu-cpu=power8" } */
3
4
typedef
__int128_t
__attribute__
((
__vector_size__
(
16
)))
vector_128_t
;
5
typedef
unsigned long long
scalar_64_t
;
6
7
vector_128_t
8
foo
(
void
)
9
{
10
union
{
11
scalar_64_t i64
[
2
];
12
vector_128_t v128
;
13
}
u
;
14
u
.
i64
[
0
] =
1
;
15
u
.
i64
[
1
] =
2
;
16
return
u
.
v128
;
17
}