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_qb.c
blob
592feaecb0aa4d1942f6e079f017a03a4aa1dd5e
1
#include
"io.h"
2
3
int
main
(
void
)
4
{
5
long long
rd
,
result
;
6
7
result
=
0xFFFFFFFFBFBFBFBF
;
8
__asm
9
(
"repl.qb %0, 0xBF
\n\t
"
10
:
"=r"
(
rd
)
11
);
12
if
(
rd
!=
result
) {
13
printf
(
"repl.qb wrong
\n
"
);
14
15
return
-
1
;
16
}
17
18
return
0
;
19
}