8 long long resulth
, resultl
;
13 rs
= 0x1234123412340000;
14 rt
= 0x9876987698760000;
22 "maq_s.w.qhlr $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_s.w.qhlr wrong\n");
38 rs
= 0x8000800080000000;
39 rt
= 0x8000800080000000;
42 resultl
= 0xffffffff80000005;
47 "maq_s.w.qhlr $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_s.w.qhlr wrong\n");