s390-ccw.img: replace while loop with a disabled wait on s390 bios
[qemu/agraf.git] / tests / tcg / mips / mips64-dsp / replv_ph.c
blob0af7a36b4021ecb5a236c4963191644b1a343391
1 #include "io.h"
3 int main(void)
5 long long rd, rt;
6 long long result;
8 rt = 0x12345678;
9 result = 0x56785678;
10 __asm
11 ("replv.ph %0, %1\n\t"
12 : "=r"(rd)
13 : "r"(rt)
15 if (rd != result) {
16 printf("replv.ph wrong\n");
18 return -1;
21 return 0;