8 long long resulth
, resultl
;
13 rs
= 0x1234888812340000;
14 rt
= 0x9876888898760000;
22 "maq_s.w.qhrl $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.qhrl wrong\n");
38 rs
= 0x8888999980000000;
39 rt
= 0x8888999980000000;
42 resultl
= 0xffffffff80000005;
47 "maq_s.w.qhrl $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.qhrl wrong\n");