s390-ccw.img: replace while loop with a disabled wait on s390 bios
[qemu/agraf.git] / tests / tcg / mips / mips64-dsp / replv_pw.c
blobe1789af4c83a3cb7a703df0e8bce8d495b851bf7
1 #include "io.h"
3 int main(void)
5 long long rd, rt, result;
6 rd = 0;
7 rt = 0xFFFFFFFF;
8 result = 0xFFFFFFFFFFFFFFFF;
10 __asm
11 ("replv.pw %0, %1\n\t"
12 : "=r"(rd)
13 : "r"(rt)
16 if (result != rd) {
17 printf("replv.pw error\n");
19 return -1;
22 return 0;