beecrypt.patch 589 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. Index: gas/aesopt.x86.m4
  2. --- gas/aesopt.x86.m4.orig 2004-06-13 13:37:23 +0200
  3. +++ gas/aesopt.x86.m4 2004-07-28 20:02:07 +0200
  4. @@ -134,6 +134,9 @@
  5. pxor 6144(%esi,%edx,8),s0
  6. ')
  7. +')
  8. +ifdef(`USE_MMX',`
  9. +
  10. define(`elr',`
  11. movd 0(%ebp),s0
  12. movd t0,%eax
  13. @@ -253,6 +256,9 @@
  14. ')
  15. +')
  16. +ifdef(`USE_MMX',`
  17. +
  18. C_FUNCTION_BEGIN(aesEncrypt)
  19. pushl %edi
  20. pushl %esi
  21. @@ -364,6 +370,9 @@
  22. pxor 6144(%esi,%edx,8),t2
  23. ')
  24. +')
  25. +ifdef(`USE_MMX',`
  26. +
  27. define(`dsft',`
  28. movd $1+ 0(%ebp),s0
  29. movd t0,%eax
  30. @@ -490,6 +499,9 @@
  31. pxor t3,s2
  32. ')
  33. +')
  34. +ifdef(`USE_MMX',`
  35. +
  36. define(`dblock',`
  37. sxrk