s390-ccw.img: replace while loop with a disabled wait on s390 bios
[qemu/agraf.git] / tests / tcg / mips / mips32-dsp / cmpgu_le_qb.c
blob65d0813c3b198443148d4ab54f9563dfcbf0db1e
1 #include<stdio.h>
2 #include<assert.h>
4 int main()
6 int rd, rs, rt;
7 int result;
9 rs = 0x11777066;
10 rt = 0x55AA70FF;
11 result = 0x0F;
12 __asm
13 ("cmpgu.le.qb %0, %1, %2\n\t"
14 : "=r"(rd)
15 : "r"(rs), "r"(rt)
18 assert(rd == result);
20 rs = 0x11777066;
21 rt = 0x11766066;
22 result = 0x09;
23 __asm
24 ("cmpgu.le.qb %0, %1, %2\n\t"
25 : "=r"(rd)
26 : "r"(rs), "r"(rt)
28 assert(rd == result);
30 return 0;