8 int resulth
, resultl
, resultdsp
;
18 "dpsqx_sa.w.ph $ac1, %3, %4\n\t"
22 : "+r"(ach
), "+r"(acl
), "=r"(dsp
)
25 dsp
= (dsp
>> 17) & 0x01;
26 assert(dsp
== resultdsp
);
27 assert(ach
== resulth
);
28 assert(acl
== resultl
);
40 "dpsqx_sa.w.ph $ac1, %3, %4\n\t"
44 : "+r"(ach
), "+r"(acl
), "=r"(dsp
)
47 dsp
= (dsp
>> 17) & 0x01;
48 assert(dsp
== resultdsp
);
49 assert(ach
== resulth
);
50 assert(acl
== resultl
);