Sign in
qemu-android
/
qemu-android
/
e05093dbbf0d1df148117e3ba2df22bc3c0878b9
/
.
/
tests
/
tcg
/
mips
/
mips64-dsp
/
shrl_qb.c
blob: c0e36dba10ae96071f00fb3e6c7005e4364dbf02 [
file
] [
log
] [
blame
]
#include
"io.h"
int
main
(
void
)
{
long
long
rd
,
rt
;
long
long
result
;
rt
=
0x12345678
;
result
=
0x00010203
;
__asm
(
"shrl.qb %0, %1, 0x05\n\t"
:
"=r"
(
rd
)
:
"r"
(
rt
)
);
if
(
rd
!=
result
)
{
printf
(
"shrl.qb wrong\n"
);
return
-
1
;
}
return
0
;
}