win64-gas.c 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /* This file auto-generated from standard.mac by genmacro.c - don't edit it */
  2. #include <stddef.h>
  3. static const char *win64_gas_stdmac[] = {
  4. "%imacro export 1+.nolist",
  5. ".export %1",
  6. "%endmacro",
  7. "%imacro proc_frame 1+.nolist",
  8. "%1:",
  9. ".proc_frame %1",
  10. "%endmacro",
  11. "%imacro endproc_frame 0.nolist",
  12. ".endproc_frame",
  13. "%endmacro",
  14. "%imacro push_reg 1",
  15. "pushq %1",
  16. ".pushreg %1",
  17. "%endmacro",
  18. "%imacro rex_push_reg 1",
  19. ".byte 0x48",
  20. "pushq %1",
  21. ".pushreg %1",
  22. "%endmacro",
  23. "%imacro push_eflags 0",
  24. "pushfq",
  25. ".allocstack 8",
  26. "%endmacro",
  27. "%imacro rex_push_eflags 0",
  28. ".byte 0x48",
  29. "pushfq",
  30. ".allocstack 8",
  31. "%endmacro",
  32. "%imacro alloc_stack 1",
  33. "subq $%1, %rsp",
  34. ".allocstack %1",
  35. "%endmacro",
  36. "%imacro save_reg 2",
  37. "movq %1, %2(%rsp)",
  38. ".savereg %1 %2",
  39. "%endmacro",
  40. "%imacro save_xmm128 2",
  41. "movdqa %1, %2(%rsp)",
  42. ".savexmm128 %1, %2",
  43. "%endmacro",
  44. "%imacro push_frame 0-1.nolist",
  45. ".pushframe %1",
  46. "%endmacro",
  47. "%imacro set_frame 1-2",
  48. "%if %0==1",
  49. "movq %rsp, %1",
  50. "%else",
  51. "leaq %2(%rsp), %1",
  52. "%endif",
  53. ".setframe %1, %2",
  54. "%endmacro",
  55. "%imacro end_prolog 0.nolist",
  56. ".endprolog",
  57. "%endmacro",
  58. "%imacro end_prologue 0.nolist",
  59. ".endprolog",
  60. "%endmacro",
  61. NULL
  62. };