repo.or.cz
/
qemu
/
armbru.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libqtest: Inline g_assert_no_errno()
[qemu/armbru.git]
/
tests
/
tcg
/
mips
/
mips64-dspr2
/
subuh_r_ob.c
blob
fc20ffd09ebdb3b696822130476fce4cc35c8506
1
#include
"io.h"
2
3
int
main
(
void
)
4
{
5
long long
rd
,
rs
,
rt
,
result
;
6
7
rd
=
0x0
;
8
rs
=
0x246956789ABCDEF0
;
9
rt
=
0x123456789ABCDEF0
;
10
result
=
0x091B000000000000
;
11
12
__asm
(
"subuh.ob %0, %1, %2
\n\t
"
13
:
"=r"
(
rd
)
14
:
"r"
(
rs
),
"r"
(
rt
)
15
);
16
17
if
(
rd
!=
result
) {
18
printf
(
"subuh.ob error
\n
"
);
19
return
-
1
;
20
}
21
22
return
0
;
23
}