8 long long resulth
, resultl
;
13 rs
= 0x1234888899990000;
14 rt
= 0x9876888899990000;
22 "maq_sa.w.qhll $ac1, %4, %5\n\t"
25 : "=r"(acho
), "=r"(aclo
)
26 : "r"(achi
), "r"(acli
), "r"(rs
), "r"(rt
)
29 if ((resulth
!= acho
) || (resultl
!= aclo
)) {
30 printf("1 maq_sa.w.qhll wrong\n");
38 rs
= 0x8000888899990000;
39 rt
= 0x8000888899990000;
47 "maq_sa.w.qhll $ac1, %5, %6\n\t"
51 : "=r"(acho
), "=r"(aclo
), "=r"(dsp
)
52 : "r"(achi
), "r"(acli
), "r"(rs
), "r"(rt
)
55 dsp
= (dsp
>> 17) & 0x1;
56 if ((dsp
!= 0x1) || (resulth
!= acho
) || (resultl
!= aclo
)) {
57 printf("2 maq_sa.w.qhll wrong\n");