PPC: Fix rldcl
[qemu/agraf.git] / tests / tcg / mips / mips64-dsp / shrlv_qh.c
blob05de2fd6c8b81f452dc0913f176111a0e4af4ab3
1 #include "io.h"
3 int main(void)
5 long long rd, rt, rs;
6 long long res;
8 rt = 0x8765679abc543786;
9 rs = 0x4;
10 res = 0x087606790bc50378;
12 __asm
13 ("shrlv.qh %0, %1, %2\n\t"
14 : "=r"(rd)
15 : "r"(rt), "r"(rs)
18 if (rd != res) {
19 printf("shrlv.qh error\n");
20 return -1;
22 return 0;