JitCompilerX86-static.asm 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. ;# Copyright (c) 2018 tevador
  2. ;#
  3. ;# This file is part of RandomX.
  4. ;#
  5. ;# RandomX is free software: you can redistribute it and/or modify
  6. ;# it under the terms of the GNU General Public License as published by
  7. ;# the Free Software Foundation, either version 3 of the License, or
  8. ;# (at your option) any later version.
  9. ;#
  10. ;# RandomX is distributed in the hope that it will be useful,
  11. ;# but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ;# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. ;# GNU General Public License for more details.
  14. ;#
  15. ;# You should have received a copy of the GNU General Public License
  16. ;# along with RandomX. If not, see<http://www.gnu.org/licenses/>.
  17. _RANDOMX_JITX86_STATIC SEGMENT PAGE READ EXECUTE
  18. PUBLIC randomx_program_prologue
  19. PUBLIC randomx_program_begin
  20. PUBLIC randomx_program_epilogue
  21. PUBLIC randomx_program_read_r
  22. PUBLIC randomx_program_read_f
  23. PUBLIC randomx_program_end
  24. ALIGN 64
  25. randomx_program_prologue PROC
  26. include asm/program_prologue_win64.inc
  27. randomx_program_prologue ENDP
  28. ALIGN 64
  29. randomx_program_begin PROC
  30. nop
  31. randomx_program_begin ENDP
  32. ALIGN 64
  33. randomx_program_epilogue PROC
  34. include asm/program_epilogue_win64.inc
  35. randomx_program_epilogue ENDP
  36. ALIGN 64
  37. randomx_program_read_r PROC
  38. include asm/program_read_r.inc
  39. randomx_program_read_r ENDP
  40. ALIGN 64
  41. randomx_program_read_f PROC
  42. include asm/program_read_f.inc
  43. randomx_program_read_f ENDP
  44. ALIGN 64
  45. randomx_program_end PROC
  46. nop
  47. randomx_program_end ENDP
  48. _RANDOMX_JITX86_STATIC ENDS
  49. END