1. 23 Aug, 2018 1 commit
  2. 07 Aug, 2018 1 commit
  3. 09 Jul, 2018 1 commit
    • Sigurd Schneider's avatar
      [turbofan] Use relative calls/jumps on arm for builtins · 23dbb81d
      Sigurd Schneider authored
      This CL uses pc-relative jumps and calls (B/BL) for calls from embedded
      builtins to embedded builtins. To make this work, the code range size is
      limited to 32MB on arm during mksnapshot, which ensures that all builtin
      to builtin offsets for jumps/calls fit into the B/BL immediate. At code
      generation time, we put a placeholder into the instruction offset which
      we resolve to the right code object when the code is copied to the heap.
      We use a new relocation mode RELATIVE_CODE_TARGET for these relative jumps.
      The relocation mode RELATIVE_CODE_TARGET should never appear after
      generating the snapshot.
      
      We modify the target_address/set_target_address methods of RelocInfo
      such that they return the absolute target addresses for pc-relative B/BL
      instructions. This ensures that the GC can treat RELATIVE_CODE_TARGET in
      the same way as code targets. This, however, only matters during
      snapshot creation time, and production code never contains
      RELATIVE_CODE_TARGET relocations.
      
      Bug: v8:6666
      Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
      Change-Id: If7eab83ad588859ca87c654a5ddc3e37caea884c
      Reviewed-on: https://chromium-review.googlesource.com/1117181Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
      Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#54320}
      23dbb81d
  4. 26 Jun, 2018 1 commit
    • Sigurd Schneider's avatar
      [turbofan] Support kRootRegisterBias on all platforms · ba39d635
      Sigurd Schneider authored
      We had a kRootRegisterBias on x64 before. This CL ports the feature to
      all other platforms as well. The root register bias is helpful to adjust
      the value of the root register, which allows to better utilize signed
      immediate offset constants in load instructions.
      
      We currently use a separate add instruction to add kRootRegisterBias
      in the code that initializes the root register. This could be improved
      by adding a custom relocation mode ensuring that instead of the root
      address, the root address plus the bias is inserted (and in this way
      the add instruction can be omitted).
      
      Bug: v8:6666
      Change-Id: I55cf02ab85d11e3c6d0d83a8f7905dbf924890f1
      Reviewed-on: https://chromium-review.googlesource.com/1113539
      Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
      Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#54023}
      ba39d635
  5. 31 May, 2018 1 commit
  6. 04 May, 2018 1 commit
  7. 17 Apr, 2018 1 commit
  8. 02 Feb, 2018 1 commit
  9. 18 Oct, 2017 1 commit
  10. 13 Oct, 2017 1 commit
  11. 29 Sep, 2017 1 commit
  12. 17 Aug, 2017 1 commit
  13. 01 Jun, 2017 1 commit
  14. 31 May, 2017 1 commit
  15. 25 May, 2017 1 commit
  16. 23 May, 2017 1 commit
    • Miran.Karic's avatar
      MIPS64: Add optimizations to li macro. · cc1aae28
      Miran.Karic authored
      A number of improvements in mips64 load immediate macro is added per
      suggestions from MIPS ART team. Also fix Subu and Dsubu macro, add a
      test for Subu and Dsubu and make minor code adjustments.
      
      BUG=
      TEST=cctest/test-assembler-mips/li_macro
           cctest/test-assembler-mips/Subu
           cctest/test-assembler-mips/Dsubu
      
      Review-Url: https://codereview.chromium.org/2892163002
      Cr-Commit-Position: refs/heads/master@{#45493}
      cc1aae28
  17. 10 May, 2017 1 commit
  18. 20 Apr, 2017 1 commit
  19. 27 Mar, 2017 1 commit
  20. 30 Sep, 2016 1 commit
  21. 29 Sep, 2016 1 commit
  22. 14 Sep, 2016 1 commit
  23. 27 Jun, 2016 1 commit
  24. 28 Apr, 2016 1 commit
  25. 19 Apr, 2016 1 commit
  26. 20 Feb, 2016 1 commit
  27. 11 Feb, 2016 1 commit
  28. 28 Jan, 2016 1 commit
  29. 06 Jan, 2016 2 commits
  30. 05 Jan, 2016 1 commit
  31. 10 Dec, 2015 1 commit
  32. 02 Dec, 2015 1 commit
  33. 30 Nov, 2015 1 commit
  34. 06 Nov, 2015 1 commit
  35. 30 Sep, 2015 1 commit
  36. 29 Sep, 2015 1 commit
  37. 18 Sep, 2015 1 commit
    • balazs.kilvady's avatar
      MIPS64: Optimize simulator. · b89eec39
      balazs.kilvady authored
      Port 09f41681
      
      Original commit message:
      The patch decreases the calls of huge switch instructions making the
      DecodeType*() functions to work in one phase and optimizing
      Instruction::InstructionType(). Speed gain in release full check is
      about 33% (6:13 s -> 4:09 s) and in optdebug full test is about 50%
      (12:29 -> 6:17)
      
      BUG=
      
      Review URL: https://codereview.chromium.org/1356693002
      
      Cr-Commit-Position: refs/heads/master@{#30824}
      b89eec39
  38. 14 Aug, 2015 1 commit
  39. 01 Aug, 2015 1 commit
    • dusan.milosavljevic's avatar
      MIPS64: Fix hidden bug in relocations for j and jal. · 38501327
      dusan.milosavljevic authored
      Introduce new mechanism for relocating j/jal.
      
      Resolves flaky failures of mozilla regress tests.
      
      Additionally:
      
      - internal encoded references are not relocated during code generation phase.
      - remove asserts from j and jal which are not
      valid because addresses are not final and valid in code generation phase.
      
      TEST=mozilla/js1_5/Regress/regress-280769-2, regress-367561-01,
           mozilla/ecma_3/Statements/regress-444979
      BUG=
      R=paul.lind@imgtec.com
      
      Review URL: https://codereview.chromium.org/1216823003 .
      
      Patch from dusan.milosavljevic <dusan.milosavljevic@imgtec.com>.
      
      Cr-Commit-Position: refs/heads/master@{#29962}
      38501327