10 rs
= 0x0000000100000001;
11 rt
= 0x0000000200000002;
18 asm ("mthi %2, $ac1\t\n"
20 "dps.w.qh $ac1, %4, %5\t\n"
23 : "=r"(acho
), "=r"(aclo
)
24 : "r"(achi
), "r"(acli
), "r"(rs
), "r"(rt
)
27 if ((acho
!= resh
) || (aclo
!= resl
)) {
28 printf("1 dps.w.qh error\n");
32 rs
= 0xaaaabbbbccccdddd;
33 rt
= 0xaaaabbbbccccdddd;
38 resh
= 0xfffffffff7777777;
41 asm ("mthi %2, $ac1\t\n"
43 "dps.w.qh $ac1, %4, %5\t\n"
46 : "=r"(acho
), "=r"(aclo
)
47 : "r"(achi
), "r"(acli
), "r"(rs
), "r"(rt
)
50 if ((acho
!= resh
) || (aclo
!= resl
)) {
51 printf("1 dps.w.qh error\n");