7 long long resh
, resl
, resdsp
;
15 resh
= 0xffffffffffffffff;
23 "dpsq_sa.l.pw $ac1, %3, %4\n\t"
27 : "+r"(achi
), "+r"(acli
), "=r"(dsp
)
31 dsp
= (dsp
>> 17) & 0x01;
32 if ((dsp
!= resdsp
) || (achi
!= resh
) || (acli
!= resl
)) {
33 printf("1 dpsq_sa.l.pw wrong\n");
38 /* clear dspcontrol reg for next test use. */
52 resh
= 0xffffffff98765436;
60 "dpsq_sa.l.pw $ac1, %3, %4\n\t"
64 : "+r"(achi
), "+r"(acli
), "=r"(dsp
)
68 dsp
= (dsp
>> 17) & 0x01;
69 if ((dsp
!= resdsp
) || (achi
!= resh
) || (acli
!= resl
)) {
70 printf("2 dpsq_sa.l.pw wrong\n");