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