5 long long rd
, rs
, rt
, result
, dspreg
, dspresult
;
7 rs
= 0x123456787FFFFFFF;
8 rt
= 0x1111111100000101;
9 result
= 0x2345678980000100;
13 ("addq.pw %0, %2, %3\n\t"
15 : "=r"(rd
), "=r"(dspreg
)
19 dspreg
= ((dspreg
>> 20) & 0x01);
20 if ((rd
!= result
) || (dspreg
!= dspresult
)) {
21 printf("addq.pw error\n");
26 rs
= 0x1234567880FFFFFF;
27 rt
= 0x1111111180000001;
28 result
= 0x2345678901000000;
32 ("addq.pw %0, %2, %3\n\t"
34 : "=r"(rd
), "=r"(dspreg
)
38 dspreg
= ((dspreg
>> 20) & 0x01);
39 if ((rd
!= result
) || (dspreg
!= dspresult
)) {
40 printf("addq.pw error\n");