Advertisement
Guest User

Untitled

a guest
Feb 6th, 2010
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. #define XPROD31_R(_a, _b, _t, _v, _x, _y)\
  2. {\
  3. asm volatile ("mac.l %[a], %[t], %%acc0;"\
  4. "mac.l %[b], %[v], %%acc0;"\
  5. "mac.l %[b], %[t], %%acc1;"\
  6. "msac.l %[a], %[v], %%acc1;"\
  7. "movclr.l %%acc0, %[a];"\
  8. "move.l %[a], (%[x]);"\
  9. "movclr.l %%acc1, %[a];"\
  10. "move.l %[a], (%[y]);"\
  11. : [a] "+&r" (_a)\
  12. : [x] "a" (_x), [y] "a" (_y),\
  13. [b] "r" (_b), [t] "r" (_t), [v] "r" (_v)\
  14. : "cc", "memory");\
  15. }\
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement