13 rs
= 0x5678123443218765;
14 rt
= 0x4321876556781234;
21 "mulsaq_s.w.qh $ac1, %4, %5\n\t"
24 : "=r"(acho
), "=r"(aclo
)
25 : "r"(achi
), "r"(acli
), "r"(rs
), "r"(rt
)
28 if ((acho
!= resh
) || (aclo
!= resl
)) {
29 printf("1 mulsaq_s.w.qh wrong\n");
36 rs
= 0x8000800087654321;
37 rt
= 0x8000800012345678;
40 resl
= 0xffffffffe5e81a1c;
44 "mulsaq_s.w.qh $ac1, %5, %6\n\t"
48 : "=r"(acho
), "=r"(aclo
), "=r"(dsp
)
49 : "r"(achi
), "r"(acli
), "r"(rs
), "r"(rt
)
51 dsp
= (dsp
>> 17) & 0x1;
52 if ((dsp
!= 0x1) || (acho
!= resh
) || (aclo
!= resl
)) {
53 printf("2 mulsaq_s.w.qh wrong\n");