5 long long ach
= 5, acl
= 5;
6 long long resulth
, resultl
, resultdsp
;
16 "dpsqx_sa.w.ph $ac1, %3, %4\n\t"
20 : "+r"(ach
), "+r"(acl
), "=r"(dsp
)
23 dsp
= (dsp
>> 17) & 0x01;
24 if (dsp
!= resultdsp
|| ach
!= resulth
|| acl
!= resultl
) {
25 printf("dpsqx_sa.w.ph error\n");
33 resulth
= 0xffffffffffffffff;
34 resultl
= 0xffffffff80000000;
39 "dpsqx_sa.w.ph $ac1, %3, %4\n\t"
43 : "+r"(ach
), "+r"(acl
), "=r"(dsp
)
46 dsp
= (dsp
>> 17) & 0x01;
47 if (dsp
!= resultdsp
|| ach
!= resulth
|| acl
!= resultl
) {
48 printf("dpsqx_sa.w.ph error\n");