Sign in
qemu-android
/
qemu-android
/
refs/heads/qemu-upstream-2.2
/
.
/
tests
/
tcg
/
mips
/
mips64-dsp
/
precequ_ph_qbra.c
blob: 7c6636975c28e7ebced9962a9bf0b8abb3206694 [
file
] [
log
] [
blame
] [
edit
]
#include
"io.h"
int
main
(
void
)
{
long
long
rd
,
rt
;
long
long
result
;
rt
=
0x87654321
;
result
=
0x32801080
;
__asm
(
"precequ.ph.qbra %0, %1\n\t"
:
"=r"
(
rd
)
:
"r"
(
rt
)
);
if
(
result
!=
rd
)
{
printf
(
"precequ.ph.qbra wrong\n"
);
return
-
1
;
}
return
0
;
}