Add qemu 2.4.0
[kvmfornfv.git] / qemu / tests / tcg / mips / mips64-dsp / preceu_qh_obl.c
1 #include "io.h"
2
3 int main(void)
4 {
5     long long rd, rt, result;
6     rt = 0x123456789ABCDEF0;
7     result = 0x0012003400560078;
8
9     __asm
10         ("preceu.qh.obl %0, %1\n\t"
11          : "=r"(rd)
12          : "r"(rt)
13         );
14
15     if (result != rd) {
16         printf("preceu.qh.obl error\n");
17
18         return -1;
19     }
20
21     return 0;
22 }