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