s390-ccw.img: replace while loop with a disabled wait on s390 bios
[qemu/agraf.git] / tests / tcg / mips / mips64-dsp / repl_ob.c
blob20cb7801366541707a229d813b2e4fce71d24731
1 #include "io.h"
3 int main(void)
5 long long rd, result;
6 rd = 0;
7 result = 0xFFFFFFFFFFFFFFFF;
9 __asm
10 ("repl.ob %0, 0xFF\n\t"
11 : "=r"(rd)
14 if (result != rd) {
15 printf("repl.ob error\n");
17 return -1;
20 return 0;