1. 28 Jun, 2016 5 commits
    • zhengxing.li's avatar
      X87: [wasm] Separate compilation from instantiation. · fe70bda4
      zhengxing.li authored
        port c1d01aea (r37086)
      
        original commit message:
        Compilation of wasm functions happens before instantiation. Imports are linked afterwards, at instantiation time. Globals and memory are also
        allocated and then tied in via relocation at instantiation time.
      
        This paves the way for implementing Wasm.compile, a prerequisite to
        offering the compiled code serialization feature.
      
        Currently, the WasmModule::Compile method just returns a fixed array
        containing the code objects. More appropriate modeling of the compiled module to come.
      
        Opportunistically centralized the logic on how to update memory
        references, size, and globals, since that logic is the exact same on each
        architecture, except for the actual storing of values back in the
        instruction stream.
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2100393003
      Cr-Commit-Position: refs/heads/master@{#37307}
      fe70bda4
    • bmeurer's avatar
      [turbofan] Introduce simplified operator NumberAbs. · f50a601f
      bmeurer authored
      Add NumberAbs operator to implement an inline version of Math.abs, that
      can be optimized and eliminated. We don't use any speculation here, but
      for now stick to the information we can infer (this way we avoid the
      inherent deopt loops that Crankshaft has around Math.abs).
      
      CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
      R=jarin@chromium.org
      BUG=v8:5086
      
      Review-Url: https://codereview.chromium.org/2096403002
      Cr-Commit-Position: refs/heads/master@{#37306}
      f50a601f
    • v8-autoroll's avatar
      Update V8 DEPS. · 53d2d24c
      v8-autoroll authored
      Rolling v8/build to 87e063014aa0f343b15f5de495a28e5f8572bf8d
      
      Rolling v8/tools/clang to 2ad431ac7823581e1f39c5b770704e1e1ca6cb32
      
      TBR=machenbach@chromium.org,vogelheim@chromium.org,hablich@chromium.org
      
      Review-Url: https://codereview.chromium.org/2101893002
      Cr-Commit-Position: refs/heads/master@{#37305}
      53d2d24c
    • zhengxing.li's avatar
      X87: [builtins] Introduce proper Float64Cos and Float64Sin. · 3bc1a842
      zhengxing.li authored
        port c781e831 (r37072)
      
        original commit message:
        Import base::ieee754::cos() and base::ieee754::sin() from fdlibm and
        introduce Float64Cos and Float64Sin TurboFan operator based on that,
        similar to what we do for Float64Log. Rewrite Math.cos() and Math.sin()
        as TurboFan builtins and use those operators to also inline Math.cos()
        and Math.sin() into optimized TurboFan functions.
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2105613002
      Cr-Commit-Position: refs/heads/master@{#37304}
      3bc1a842
    • mattloring's avatar
      Reland of Include file names in trace_turbo output (patchset #1 id:1 of... · 9480ea44
      mattloring authored
      Reland of Include file names in trace_turbo output (patchset #1 id:1 of https://codereview.chromium.org/2083153004/ )
      
      Reason for revert:
      Ready to test fix and reland.
      
      Original issue's description:
      > Revert of Include file names in trace_turbo output (patchset #3 id:40001 of https://codereview.chromium.org/2083863004/ )
      >
      > Reason for revert:
      > Many build bots are failing with a message of the form:
      >
      > Missing or invalid v8 JSON file: /tmp/tmp2qcEUy_swarming/0/output.json
      >
      > Can be relanded once we understand why these failures are occuring.
      >
      > Original issue's description:
      > > Include file names in trace_turbo output
      > >
      > > The trace turbo output will overwrite itself when functions in different
      > > files share the same name. Output files now have the form
      > > `turbo-<function_name>:<opt_file_name>-<opt_phase>.suffix`.
      > >
      > > R=ofrobots@google.com
      > > BUG=
      > >
      > > Committed: https://crrev.com/a53b9bf02f31e5647c37e0392afa19f74df1a3ba
      > > Cr-Commit-Position: refs/heads/master@{#37199}
      >
      > TBR=ofrobots@google.com,bmeurer@chromium.org,danno@chromium.org
      > # Skipping CQ checks because original CL landed less than 1 days ago.
      > NOPRESUBMIT=true
      > NOTREECHECKS=true
      > NOTRY=true
      > BUG=
      >
      > Committed: https://crrev.com/97c2bc362f234bd58515a0faf6af23b4f8ad183a
      > Cr-Commit-Position: refs/heads/master@{#37204}
      
      TBR=ofrobots@google.com,bmeurer@chromium.org,danno@chromium.org,machenbach@google.com
      # Skipping CQ checks because original CL landed less than 1 days ago.
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=
      
      Review-Url: https://codereview.chromium.org/2081323007
      Cr-Commit-Position: refs/heads/master@{#37303}
      9480ea44
  2. 27 Jun, 2016 35 commits