hw/arm/virt: introduce DEFINE_VIRT_MACHINE
[qemu/ar7.git] / tests / tcg / mips / mips32-dsp / precequ_ph_qbl.c
blob63b7a956834534fb61da9c2de0b847ce69c1adde
1 #include<stdio.h>
2 #include<assert.h>
4 int main()
6 int rd, rt;
7 int result;
9 rt = 0x87654321;
10 result = 0x43803280;
12 __asm
13 ("precequ.ph.qbl %0, %1\n\t"
14 : "=r"(rd)
15 : "r"(rt)
17 assert(result == rd);
19 return 0;