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
i386: Add bf8 -> fp16 intrin
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
920721-3.c
blob
ebad0ded5baf9484f71e9a2b2518ae38eaa8d295
1
/* { dg-additional-options "-std=gnu89" } */
2
static
inline
fu
(
unsigned short
data
)
3
{
4
return
data
;
5
}
6
ru
(
i
)
7
{
8
if
(
fu
(
i
++)!=
5
)
abort
();
9
if
(
fu
(++
i
)!=
7
)
abort
();
10
}
11
static
inline
fs
(
signed short
data
)
12
{
13
return
data
;
14
}
15
rs
(
i
)
16
{
17
if
(
fs
(
i
++)!=
5
)
abort
();
18
if
(
fs
(++
i
)!=
7
)
abort
();
19
}
20
21
22
main
()
23
{
24
ru
(
5
);
25
rs
(
5
);
26
exit
(
0
);
27
}