libqtest: Inline g_assert_no_errno()
[qemu/armbru.git] / tests / tcg / mips / mips64-dspr2 / precr_qb_ph.c
blob80d5e8dce98602d9d7d07a66a4b2df0e921e2278
1 #include"io.h"
3 int main()
5 long long rd, rs, rt;
6 long long result;
8 rs = 0x12345678;
9 rt = 0x87654321;
10 result = 0x34786521;
12 __asm
13 ("precr.qb.ph %0, %1, %2\n\t"
14 : "=r"(rd)
15 : "r"(rs), "r"(rt)
17 if (result != rd) {
18 printf("precr.qb.ph error\n");
19 return -1;
22 return 0;