PPC: Fix rldcl
[qemu/agraf.git] / tests / tcg / mips / mips32-dsp / precrq_qb_ph.c
blobfe23acce8c4702f4cd753211e9d57b47c05c2b31
1 #include<stdio.h>
2 #include<assert.h>
4 int main()
6 int rd, rs, rt;
7 int result;
9 rs = 0x12345678;
10 rt = 0x87654321;
11 result = 0x12568743;
13 __asm
14 ("precrq.qb.ph %0, %1, %2\n\t"
15 : "=r"(rd)
16 : "r"(rs), "r"(rt)
18 assert(result == rd);
20 return 0;