6 long long ach
= 5, acl
= 5;
7 long long resulth
, resultl
, resultdsp
;
12 resulth
= 0xfffffffffdf4cbe0;
13 resultl
= 0xFFFFFFFFd138776b;
18 "dpsq_sa.l.w $ac1, %3, %4\n\t"
22 : "+r"(ach
), "+r"(acl
), "=r"(dsp
)
25 dsp
= (dsp
>> 17) & 0x01;
26 if ((dsp
!= resultdsp
) || (ach
!= resulth
) || (acl
!= resultl
)) {
27 printf("1 dpsq_sa.l.w wrong\n");
37 resulth
= 0xffffffffd4321123;
44 "dpsq_sa.l.w $ac1, %3, %4\n\t"
48 : "+r"(ach
), "+r"(acl
), "=r"(dsp
)
51 dsp
= (dsp
>> 17) & 0x01;
52 if ((dsp
!= resultdsp
) || (ach
!= resulth
) || (acl
!= resultl
)) {
53 printf("2 dpsq_sa.l.w wrong\n");