1. 21 Sep, 2018 8 commits
  2. 20 Sep, 2018 11 commits
  3. 19 Sep, 2018 6 commits
  4. 18 Sep, 2018 5 commits
  5. 17 Sep, 2018 6 commits
    • Michael Starzinger's avatar
      Reland "[wasm] Implement handling of exported/imported exceptions." · 00741254
      Michael Starzinger authored
      This is a reland of a4105a43
      
      Original change's description:
      > [wasm] Implement handling of exported/imported exceptions.
      > 
      > This implements the proper semantics for matching exported/imported
      > exceptions by using the notion of an "exception tag" that is global to
      > the system. It can be used to match exceptions in one module against
      > exceptions declared and/or thrown in another module (or instance).
      > 
      > R=clemensh@chromium.org
      > TEST=mjsunit/wasm/exceptions-shared
      > BUG=v8:8091
      > 
      > Change-Id: I37586d7be5d5e6169b3418dfbc415b26dd4750dd
      > Reviewed-on: https://chromium-review.googlesource.com/1226976
      > Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
      > Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#55940}
      
      Bug: v8:8091
      Change-Id: Ib85f099b26a8323a8a00299b5aaeb05aaff3c3c6
      Reviewed-on: https://chromium-review.googlesource.com/1227975Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
      Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#55959}
      00741254
    • Michael Starzinger's avatar
      [wasm] Brush up mjsunit/wasm/exceptions test. · fe036121
      Michael Starzinger authored
      R=clemensh@chromium.org
      TEST=mjsunit/wasm/exceptions
      BUG=v8:8091
      
      Change-Id: I93227c29bb3591983f1901577afdf305637beb70
      Reviewed-on: https://chromium-review.googlesource.com/1226803
      Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
      Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#55954}
      fe036121
    • Benedikt Meurer's avatar
      [turbofan] Decide lowering for NumberAdd/Subtract/Multiply based on feedback. · 9edad5d5
      Benedikt Meurer authored
      For NumberAdd/Subtract/Multiply we currently onlt consult the upper
      bound to decide whether to compute using Int32 or Float64 operations,
      whereas for NumberModulus, NumberEqual, etc. we do decide based on
      the feedback types, where the only significant difference is that we
      cannot promise Word32 truncations on the inputs.
      
      This change unifies the handling for NumberAdd/Subtract/Multiply as
      well, which triggers surprisingly often in our core benchmark suites..
      
      Bug: v8:8015
      Change-Id: If8ec1bc82d1e1b71285c829262a0d343a4eb2af7
      Reviewed-on: https://chromium-review.googlesource.com/1226033
      Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
      Reviewed-by: 's avatarJaroslav Sevcik <jarin@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#55943}
      9edad5d5
    • Leszek Swirski's avatar
      Revert "[wasm] Implement handling of exported/imported exceptions." · 00f8592d
      Leszek Swirski authored
      This reverts commit a4105a43.
      
      Reason for revert: GC stress failures (https://ci.chromium.org/p/v8/builders/luci.v8.ci/V8%20Mac64%20GC%20Stress/3097)
      
      Original change's description:
      > [wasm] Implement handling of exported/imported exceptions.
      > 
      > This implements the proper semantics for matching exported/imported
      > exceptions by using the notion of an "exception tag" that is global to
      > the system. It can be used to match exceptions in one module against
      > exceptions declared and/or thrown in another module (or instance).
      > 
      > R=​clemensh@chromium.org
      > TEST=mjsunit/wasm/exceptions-shared
      > BUG=v8:8091
      > 
      > Change-Id: I37586d7be5d5e6169b3418dfbc415b26dd4750dd
      > Reviewed-on: https://chromium-review.googlesource.com/1226976
      > Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
      > Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#55940}
      
      TBR=mstarzinger@chromium.org,clemensh@chromium.org
      
      Change-Id: I5ef19ea3b67f470f2d7807810110d75415ba9ed6
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: v8:8091
      Reviewed-on: https://chromium-review.googlesource.com/1227933Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Commit-Queue: Leszek Swirski <leszeks@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#55942}
      00f8592d
    • Michael Starzinger's avatar
      [wasm] Implement handling of exported/imported exceptions. · a4105a43
      Michael Starzinger authored
      This implements the proper semantics for matching exported/imported
      exceptions by using the notion of an "exception tag" that is global to
      the system. It can be used to match exceptions in one module against
      exceptions declared and/or thrown in another module (or instance).
      
      R=clemensh@chromium.org
      TEST=mjsunit/wasm/exceptions-shared
      BUG=v8:8091
      
      Change-Id: I37586d7be5d5e6169b3418dfbc415b26dd4750dd
      Reviewed-on: https://chromium-review.googlesource.com/1226976
      Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
      Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#55940}
      a4105a43
    • Benedikt Meurer's avatar
      [turbofan] Initial support to compute NumberAdd/NumberSubtract in Word64. · 0c296cb2
      Benedikt Meurer authored
      This change introduces the necessary conversion operators to convert
      from Word64 to other representations (Tagged, Word32, Float64, etc.),
      and plugs in the Word64 representation for NumberAdd/NumberSubtract,
      such that TurboFan will go to Int64Add/Sub on 64-bit architectures
      when the inputs and the output of the operation is in safe integer
      range. This includes the necessary changes to the Deoptimizer to be
      able to rematerialize Int64 values as Smi/HeapNumber when going back
      to Ignition later.
      
      This change might affect performance, although measurements indicate
      that there should be no noticable performance impact.
      
      The goal is to have TurboFan support Word64 representation to a degree
      that changing the TypedArray length to an uint64_t (for 64-bit archs)
      becomes viable and doesn't have any negative performance implications.
      Independent of that we might get performance improvements in other areas
      such as for crypto code later.
      
      Bug: v8:4153, v8:7881, v8:8171, v8:8178
      Design-Document: bit.ly/turbofan-word64
      Change-Id: I29d56e2a31c1bae61d04a89d29ea73f21fd49c59
      Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel
      Reviewed-on: https://chromium-review.googlesource.com/1225709
      Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
      Reviewed-by: 's avatarJaroslav Sevcik <jarin@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#55937}
      0c296cb2
  6. 14 Sep, 2018 4 commits