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