1. 20 Jun, 2020 4 commits
  2. 19 Jun, 2020 5 commits
  3. 11 Jun, 2020 1 commit
  4. 09 Apr, 2020 9 commits
  5. 06 Apr, 2020 2 commits
  6. 18 Feb, 2020 1 commit
  7. 17 Feb, 2020 1 commit
  8. 06 Jan, 2020 1 commit
  9. 20 Jun, 2019 2 commits
    • Andy Wingo's avatar
      push/pop of link register does not affect stack size on x86 · 1c36f036
      Andy Wingo authored
      * lightening/x86-cpu.c (pop_link_register, push_link_register): Don't
        record stack size changes here.
      1c36f036
    • Andy Wingo's avatar
      Add jmpi_with_link instruction · 62183fb0
      Andy Wingo authored
      The existing calli / callr interface is for ABI calls.  Sometimes though
      you want to call some of your own code, just to get the current return
      address.  ARM's branch-and-link instructions are ideal for this but they
      don't exist on x86; there we emulate them by adding corresponding
      pop_link_register / push_link_register instructions that are no-ops on
      ARM.
      
      * lightening.h (FOR_EACH_INSTRUCTION): Add jit_jmpi_with_link,
        pop_link_register, push_link_register.
      * lightening/arm-cpu.c:
      * lightening/x86-cpu.c:
      * lightening/aarch64-cpu.c (jmpi_with_link, push_link_register)
        (pop_link_register): Add implementations.
      * lightening/arm.h:
      * lightening/aarch64.h:
      * lightening/x86.h (JIT_LR): New definition.
      * tests/link-register.c: New test.
      62183fb0
  10. 27 May, 2019 4 commits
  11. 23 May, 2019 1 commit
  12. 22 May, 2019 2 commits
  13. 21 May, 2019 7 commits