PPC: Fix rldcl
[qemu/agraf.git] / tests / tcg / mips / mips64-dspr2 / shrlv_ph.c
blob58c5488b5888d5bb207402f6b212fae0be26397b
1 #include"io.h"
3 int main(void)
5 long long rd, rs, rt;
6 long long result;
8 rs = 0x05;
9 rt = 0x12345678;
10 result = 0x009102B3;
12 __asm
13 ("shrlv.ph %0, %1, %2\n\t"
14 : "=r"(rd)
15 : "r"(rt), "r"(rs)
17 if (rd != result) {
18 printf("shrlv.ph error!\n");
19 return -1;
22 return 0;