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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr24670.c
blob
75b92fd018c9daaeb5a53c9f92f045f42cf5d7a9
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
void
add128
(
long long int
*);
5
6
__inline__
void
7
shift128Right
(
int
count
,
long long int
*
z1Ptr
)
8
{
9
long long int
z1
;
10
if
(
count
==
0
);
11
else if
(
count
<
64
);
12
else
13
z1
= (
count
<
64
) ?
count
:
0
;
14
*
z1Ptr
=
z1
;
15
}
16
17
void
18
float128_rem
()
19
{
20
signed int
expDiff
;
21
long long int
aSig1
;
22
long long int
sigMean1
;
23
if
(-
64
<
expDiff
)
24
shift128Right
(-
expDiff
, &
aSig1
);
25
add128
(&
sigMean1
);
26
}