s390-ccw.img: replace while loop with a disabled wait on s390 bios
[qemu/agraf.git] / tests / tcg / mips / mips64-dsp / mtlo.c
blob304fffbe7c446faa68ab3141b8355caf93f3211d
1 #include "io.h"
3 int main(void)
5 long long acli, aclo;
6 long long result;
8 acli = 0x004433;
9 result = 0x004433;
11 __asm
12 ("mthi %1, $ac1\n\t"
13 "mfhi %0, $ac1\n\t"
14 : "=r"(aclo)
15 : "r"(acli)
17 if (result != aclo) {
18 printf("mtlo wrong\n");
21 return 0;