Advertisement
MasWag

product.fipr.s

Jun 5th, 2014
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .global product
  2. .type product, @function
  3. product:
  4. mov.l r14,@-r15
  5. cmp/pl r4
  6. bf/s .L2
  7. mov r15,r14
  8. mova .L5,r0
  9. fmov.s @r0,fr8
  10. mov.l .L4,r1
  11. lds.l @r1+,fpscr
  12. mov r0,r1
  13. mov #0,r0
  14. .L1:
  15. fmov.s @r1,fr0
  16. fmov.s @r1,fr1
  17. fmov.s @r1,fr2
  18. fmov.s @r1,fr3
  19. fmov.s @r1,fr4
  20. fmov.s @r1,fr5
  21. fmov.s @r1,fr6
  22. fmov.s @r1,fr7
  23.  
  24. fmov.s @(r0,r5),fr0
  25. fmov.s @(r0,r6),fr4
  26. dt r4
  27. add #4,r0
  28. bt .L0
  29.  
  30. fmov.s @(r0,r5),fr1
  31. fmov.s @(r0,r6),fr5
  32. dt r4
  33. add #4,r0
  34. bt .L0
  35.  
  36. fmov.s @(r0,r5),fr2
  37. fmov.s @(r0,r6),fr6
  38. dt r4
  39. add #4,r0
  40. bt .L0
  41.  
  42. fmov.s @(r0,r5),fr3
  43. fmov.s @(r0,r6),fr7
  44. dt r4
  45. add #4,r0
  46. .L0:
  47. fipr fv4,fv0
  48. fadd fr3,fr8
  49. bf .L1
  50. .L2:
  51. fmov fr8,fr0
  52. mov r14,r15
  53. rts
  54. mov.l @r15+,r14
  55. .align 2
  56. .L4:
  57. .long __fpscr_values
  58. .L5:
  59. .long 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement