1. 24 Apr, 2016 2 commits
  2. 18 Apr, 2016 1 commit
  3. 04 Apr, 2016 5 commits
    • Matthias Braun's avatar
      ia32, amd64: Share address mode emit code. · 3d2bbc65
      Matthias Braun authored
      This meant initializing the address mode variant all over the ia32
      backend, on the other hand this will be useful if we ever switch the
      ia32 backend to a style without NoReg nodes (like amd64).
      3d2bbc65
    • Matthias Braun's avatar
      2dd358a8
    • Matthias Braun's avatar
      ia32, amd64: Introduce common x86_addr_t struct. · d13cb0a6
      Matthias Braun authored
      We only use the immediate and scale yet on ia32.
      d13cb0a6
    • Matthias Braun's avatar
    • Matthias Braun's avatar
      be: Rewrite stack frame handling · b6787e36
      Matthias Braun authored
      This is a bigger rewrite of stack frame handling in the backend:
      
      - Do the stack frame type layout late, after all the spill slots have
        been created. This way we can avoid (and remove) the brittle
        frame_alloc_area().
      - Standardize the meaning of stack entity offsets. After stack frame type
        layout they are relative to the stack pointer position at the beginning
        of the function.  It is all in one type now, no splitting into "arg",
        "between" and "stack_frame" type anymore.
      - Generalize the stack pointer simulation code to work with a single
        callback. Represent stack state as current offset and align_padding
        number. Now that callbacks can access and modify them both we do not
        need custom code in the sparc backend anymore.
      - Remove alignment specification on IncSP, only keep a ignore_align flag
        used for the last IncSP that has to remove all existing sp adjustments
        and may end up on a misaligned SP on ia32/amd64.
      - Align stack by default on ia32+amd64 backends.
      b6787e36
  4. 19 Mar, 2016 1 commit
  5. 15 Mar, 2016 1 commit
  6. 15 Feb, 2016 2 commits
  7. 14 Feb, 2016 1 commit
  8. 12 Feb, 2016 1 commit
  9. 08 Feb, 2016 4 commits
  10. 05 Feb, 2016 1 commit
  11. 01 Feb, 2016 4 commits
  12. 31 Jan, 2016 3 commits
  13. 25 Jan, 2016 1 commit
  14. 17 Jan, 2016 1 commit
  15. 11 Jan, 2016 1 commit
  16. 10 Jan, 2016 1 commit
  17. 14 Dec, 2015 1 commit
  18. 03 Dec, 2015 2 commits
  19. 23 Sep, 2015 1 commit
  20. 20 Sep, 2015 2 commits
  21. 07 Sep, 2015 2 commits
  22. 29 Jul, 2015 1 commit
    • Matthias Braun's avatar
      ia32: Introduce X86_IMM_PCREL · 672a3898
      Matthias Braun authored
      Calls+Jumps really use PC relative addresses even if they look the same
      in the assembler. Create an immediate kind for that, this allows a
      slightly simpler bemit_entity().
      672a3898
  23. 22 Jul, 2015 1 commit
    • Matthias Braun's avatar
      ia32: PIC rewrite, handles most of elf PIC now · f345dbf8
      Matthias Braun authored
      This uses the newly introduced be_Relocation node to perform most PIC
      transformations in ia32_pic.c. This introduces the elf and elf-no-plt
      PIC modes. The "efl" mode does not work yet because the additional ebx
      input makes calls register pressure unfaithful.
      f345dbf8