s390-ccw.img: replace while loop with a disabled wait on s390 bios
[qemu/agraf.git] / tests / tcg / mips / mips64-dsp / precrq_ob_qh.c
blob4f61b1709e364470f6c53f5d2114dd0abe17e127
1 #include "io.h"
3 int main(void)
5 long long rd, rs, rt;
6 long long res;
8 rs = 0x1234567812345678;
9 rt = 0x8765432187654321;
11 res = 0x1256125687438743;
13 __asm
14 ("precrq.ob.qh %0, %1, %2\n\t"
15 : "=r"(rd)
16 : "r"(rs), "r"(rt)
19 if (rd != res) {
20 printf("precrq.ob.qh error\n");
21 return -1;
24 return 0;