s390-ccw.img: replace while loop with a disabled wait on s390 bios
[qemu/agraf.git] / tests / tcg / mips / mips32-dsp / cmpgu_eq_qb.c
blob2615c84c75c718d73e93c2a8df05046092f5b8ad
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 = 0x02;
12 __asm
13 ("cmpgu.eq.qb %0, %1, %2\n\t"
14 : "=r"(rd)
15 : "r"(rs), "r"(rt)
18 assert(rd == result);
20 rs = 0x11777066;
21 rt = 0x11777066;
22 result = 0x0F;
23 __asm
24 ("cmpgu.eq.qb %0, %1, %2\n\t"
25 : "=r"(rd)
26 : "r"(rs), "r"(rt)
28 assert(rd == result);
30 return 0;