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