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
/
pr92796.c
blob
1e671e175def48d9ade3c585d961881779cd140a
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fstack-protector-strong -mdejagnu-cpu=power8" } */
3
/* { dg-require-effective-target ppc_ieee128_ok } */
4
5
typedef
union
6
{
7
__ieee128 a
;
8
int
b
;
9
}
c
;
10
11
__ieee128
12
d
(
__ieee128 x
)
13
{
14
__ieee128 g
;
15
c h
;
16
h
.
a
=
x
;
17
g
=
h
.
b
&
5
;
18
h
.
b
=
g
;
19
if
(
g
)
20
return
x
-
x
;
21
return
h
.
a
;
22
}