s390-ccw.img: replace while loop with a disabled wait on s390 bios
[qemu/agraf.git] / tests / tcg / mips / mips32-dsp / raddu_w_qb.c
blob77a983c0d20f39c9631c8e87865686345b2e93b1
1 #include<stdio.h>
2 #include<assert.h>
4 int main()
6 int rd, rs;
7 int result;
9 rs = 0x12345678;
10 result = 0x114;
12 __asm
13 ("raddu.w.qb %0, %1\n\t"
14 : "=r"(rd)
15 : "r"(rs)
17 assert(rd == result);
19 return 0;