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
PPC: Fix rldcl
[qemu/agraf.git]
/
tests
/
tcg
/
mips
/
mips64-dsp
/
replv_qb.c
blob
d99298c31ecfd29802747fcdc3a5ca2f55b07725
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
=
0x78787878
;
10
__asm
11
(
"replv.qb %0, %1
\n\t
"
12
:
"=r"
(
rd
)
13
:
"r"
(
rt
)
14
);
15
if
(
rd
!=
result
) {
16
printf
(
"replv.qb wrong
\n
"
);
17
18
return
-
1
;
19
}
20
21
return
0
;
22
}