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
/
precequ_qh_obla.c
blob
93a36a4855ffde8367b642e1bff06b90600d15b9
1
#include
"io.h"
2
3
int
main
(
void
)
4
{
5
long long
rd
,
rt
,
result
;
6
rt
=
0x123456789ABCDEF0
;
7
result
=
0x09002B004D006F00
;
8
9
__asm
10
(
"precequ.qh.obla %0, %1
\n\t
"
11
:
"=r"
(
rd
)
12
:
"r"
(
rt
)
13
);
14
15
if
(
result
!=
rd
) {
16
printf
(
"precequ.qh.obla error
\n
"
);
17
18
return
-
1
;
19
}
20
21
return
0
;
22
}