PPC: Fix rldcl
[qemu/agraf.git] / tests / tcg / mips / mips64-dsp / replv_ob.c
blob31ff3186d3553d85eddf0328bd9586e67f3bdc20
1 #include "io.h"
3 int main(void)
5 long long rd, rt, result;
7 rt = 0xFF;
8 result = 0xFFFFFFFFFFFFFFFF;
10 __asm
11 ("replv.ob %0, %1\n\t"
12 : "=r"(rd)
13 : "r"(rt)
16 if (result != rd) {
17 printf("replv.ob error\n");
19 return -1;
22 return 0;