repo.or.cz
/
qemu
/
agraf.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
s390-ccw.img: replace while loop with a disabled wait on s390 bios
[qemu/agraf.git]
/
tests
/
tcg
/
mips
/
mips64-dsp
/
repl_ob.c
blob
20cb7801366541707a229d813b2e4fce71d24731
1
#include
"io.h"
2
3
int
main
(
void
)
4
{
5
long long
rd
,
result
;
6
rd
=
0
;
7
result
=
0xFFFFFFFFFFFFFFFF
;
8
9
__asm
10
(
"repl.ob %0, 0xFF
\n\t
"
11
:
"=r"
(
rd
)
12
);
13
14
if
(
result
!=
rd
) {
15
printf
(
"repl.ob error
\n
"
);
16
17
return
-
1
;
18
}
19
20
return
0
;
21
}