5 long long rd
, rs
, rt
, result
, dspreg
, dspresult
;
7 rs
= 0x123456787FFF8010;
8 rt
= 0x1111111100018000;
9 result
= 0x2345678980000010;
13 ("addq.qh %0, %2, %3\n\t"
15 : "=r"(rd
), "=r"(dspreg
)
19 dspreg
= ((dspreg
>> 20) & 0x01);
21 if ((rd
!= result
) || (dspreg
!= dspresult
)) {
22 printf("addq.qh error\n");