Sign in
qemu-android
/
qemu-android
/
rebase-20161015
/
.
/
tests
/
tcg
/
mips
/
mips32-dsp
/
preceu_ph_qbra.c
blob: 634327618cced9aeab1b2c033c7f364172b46fee [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
<assert.h>
int
main
()
{
int
rd
,
rt
;
int
result
;
rt
=
0x87654321
;
result
=
0x00650021
;
__asm
(
"preceu.ph.qbra %0, %1\n\t"
:
"=r"
(
rd
)
:
"r"
(
rt
)
);
assert
(
result
==
rd
);
return
0
;
}