1. 19 Aug, 2021 2 commits
    • Patrick Thier's avatar
      [masm] Create helpers to manipulate arguments on the stack. · 89933af6
      Patrick Thier authored
      - Introduce helper to push arguments onto the stack (Standalone this
      change doesn't make a lot of sense, but is in preparation for including
      the receiver in argc).
      - Introduce helper to shift arguments already on the stack to make room
      for new arguments (Varargs).
      - arm64 is not included because a) there was already a helper similar
      to ShiftArguments and b) PushArguments is not similar enough to make
      sense for arm64 because of small differences (e.g. also pushing the
      function) in conjunction with stack alignment.
      
      Drive-by: Use masm DropArguments in Sparkplug EmitReturn
      
      Bug: v8:11112
      Change-Id: Id7a3a5f025abb19e2a52dae27b3b484fe87e9faf
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3097275Reviewed-by: 's avatarVictor Gomes <victorgomes@chromium.org>
      Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Commit-Queue: Patrick Thier <pthier@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#76392}
      89933af6
    • Lu Yahan's avatar
      [riscv64] Delete s10 from scratch_list · f2da7ce0
      Lu Yahan authored
      S10 is a Callee save register and be used in scratch_list.
      In cctest, could use scratch but not does't go through the JSEntry function that can save callee save reg. So cctest could be crashed due to using s10.
      
      Bug: v8:12124
      Change-Id: I62c3582ad490681d5efb24e8bfe0884006d42e66
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3103425Reviewed-by: 's avatarJi Qiu <qiuji@iscas.ac.cn>
      Commit-Queue: Ji Qiu <qiuji@iscas.ac.cn>
      Auto-Submit: Yahan Lu <yahan@iscas.ac.cn>
      Cr-Commit-Position: refs/heads/main@{#76375}
      f2da7ce0
  2. 16 Aug, 2021 2 commits
  3. 13 Aug, 2021 1 commit
  4. 12 Aug, 2021 1 commit
  5. 10 Aug, 2021 1 commit
  6. 06 Aug, 2021 1 commit
    • Victor Gomes's avatar
      [baseline] Update EstimateInstructionSize · 63be6dde
      Victor Gomes authored
      Adds a minimum estimated size.
      
      Data suggests that estimated instruction size (+ relocation info size)
      is linear to bytecode array length. This CL adds a constant for this
      equation. The ratio remains the same.
      
      This is important, because we want to increase success rate of
      estimation when compiling on-heap.
      
      When off-heap, we round up the assembler buffer to 4kB, so this CL
      will only impact JS functions with more than 585 bytecodes, i.e, the
      new added constant will be negligible.
      
      Note: Relocation info (for Sparkplug) is usually so small that it is
      not useful to have a separate zone for this.
      
      Bug: v8:11872
      Change-Id: I789e72f80b970d1f541965e7ae808b61c8174326
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3069155
      Auto-Submit: Victor Gomes <victorgomes@chromium.org>
      Commit-Queue: Victor Gomes <victorgomes@chromium.org>
      Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#76144}
      63be6dde
  7. 04 Aug, 2021 2 commits
  8. 23 Jul, 2021 1 commit
    • Leszek Swirski's avatar
      [ignition/sparkplug] Fix folded interrupt check · ef17601f
      Leszek Swirski authored
      Change the folded interrupt check to be on JumpLoop only, to avoid
      calling it from Return. The call from Return could cause spurious stack
      overflows, which interacted poorly with async functions that had already
      resolved their promise.
      
      Now the bytecode budget interrupt function is split into two functions,
      one which does the stack check and one which doesn't. The former is
      still called from JumpLoop, the latter is called from Return.
      
      Bug: chromium:1231952, chromium:1232105
      Change-Id: I8c4e2937f64b5f8fdbd6c1fcb2a76ec5f090ae3c
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3049076Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
      Commit-Queue: Leszek Swirski <leszeks@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#75891}
      ef17601f
  9. 22 Jul, 2021 1 commit
  10. 20 Jul, 2021 1 commit
  11. 19 Jul, 2021 1 commit
  12. 08 Jul, 2021 3 commits
  13. 07 Jul, 2021 1 commit
  14. 01 Jul, 2021 1 commit
  15. 30 Jun, 2021 3 commits
  16. 29 Jun, 2021 1 commit
  17. 28 Jun, 2021 1 commit
  18. 25 Jun, 2021 2 commits
  19. 24 Jun, 2021 3 commits
  20. 23 Jun, 2021 2 commits
  21. 22 Jun, 2021 1 commit
  22. 21 Jun, 2021 2 commits
  23. 17 Jun, 2021 2 commits
  24. 16 Jun, 2021 1 commit
  25. 15 Jun, 2021 1 commit
  26. 11 Jun, 2021 2 commits