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
/
precrq_qh_pw.c
blob
4a4ffef8ea1495774e5bfd5c34b81743d58b0eb3
1
#include
"io.h"
2
3
int
main
(
void
)
4
{
5
long long
rd
,
rs
,
rt
;
6
long long
res
;
7
8
rs
=
0x1234567812345678
;
9
rt
=
0x8765432187654321
;
10
11
res
=
0x1234123487658765
;
12
13
__asm
14
(
"precrq.qh.pw %0, %1, %2
\n\t
"
15
:
"=r"
(
rd
)
16
:
"r"
(
rs
),
"r"
(
rt
)
17
);
18
19
if
(
rd
!=
res
) {
20
printf
(
"precrq.qh.pw error
\n
"
);
21
return
-
1
;
22
}
23
24
return
0
;
25
}