Merge tag 'qemu-macppc-20230206' of https://github.com/mcayland/qemu into staging
[qemu.git] / tests / tcg / mips / user / ase / dsp / test_dsp_r2_shrl_ph.c
blob724b9a7a4691b1a24448c6588244513582aecff3
1 #include<stdio.h>
2 #include<assert.h>
4 int main()
6 int rd, rt;
7 int result;
9 rt = 0x12345678;
10 result = 0x009102B3;
12 __asm
13 ("shrl.ph %0, %1, 0x05\n\t"
14 : "=r"(rd)
15 : "r"(rt)
17 assert(rd == result);
19 return 0;