5 long long rd
, rs
, rt
, result
, dspreg
, dspresult
;
6 rs
= 0x123456787FFF8000;
7 rt
= 0x1111111100028000;
8 result
= 0x234567897FFF8000;
12 ("addq_s.qh %0, %2, %3\n\t"
14 : "=r"(rd
), "=r"(dspreg
)
18 dspreg
= ((dspreg
>> 20) & 0x01);
19 if ((rd
!= result
) || (dspreg
!= dspresult
)) {
20 printf("addq_s.qh error\n");