1
0

exp.s 484 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. .global exp2f
  2. .type exp2f,@function
  3. exp2f:
  4. flds 4(%esp)
  5. jmp 1f
  6. .global exp2l
  7. .type exp2l,@function
  8. exp2l:
  9. fldt 4(%esp)
  10. jmp 1f
  11. .global expf
  12. .type expf,@function
  13. expf:
  14. flds 4(%esp)
  15. jmp 2f
  16. .global expl
  17. .type expl,@function
  18. expl:
  19. fldt 4(%esp)
  20. jmp 2f
  21. .global exp
  22. .type exp,@function
  23. exp:
  24. fldl 4(%esp)
  25. 2: fldl2e
  26. fmulp
  27. jmp 1f
  28. .global exp2
  29. .type exp2,@function
  30. exp2:
  31. fldl 4(%esp)
  32. 1: fld %st(0)
  33. frndint
  34. fxch %st(1)
  35. fsub %st(1)
  36. f2xm1
  37. fld1
  38. faddp
  39. fscale
  40. fstp %st(1)
  41. ret