5 long long rd
, rs
, rt
, result
, dspreg
, dspresult
;
6 rt
= 0x123456789ABCDEF0;
7 rs
= 0x123456789ABCDEF0;
12 ("subq.pw %0, %2, %3\n\t"
14 : "=r"(rd
), "=r"(dspreg
)
17 dspreg
= (dspreg
>> 20) & 0x1;
18 if ((rd
!= result
) || (dspreg
!= dspresult
)) {
19 printf("subq.pw error1\n\t");
24 rt
= 0x123456789ABCDEF1;
25 rs
= 0x123456789ABCDEF2;
26 result
= 0x0000000000000001;
30 ("subq.pw %0, %2, %3\n\t"
32 : "=r"(rd
), "=r"(dspreg
)
35 dspreg
= (dspreg
>> 20) & 0x1;
36 if ((rd
!= result
) || (dspreg
!= dspresult
)) {
37 printf("subq.pw error2\n");