1. 10 Aug, 2016 1 commit
  2. 09 Aug, 2016 1 commit
  3. 03 Aug, 2016 1 commit
  4. 02 Aug, 2016 2 commits
  5. 01 Aug, 2016 3 commits
  6. 29 Jul, 2016 1 commit
  7. 28 Jul, 2016 1 commit
  8. 21 Jul, 2016 3 commits
  9. 20 Jul, 2016 2 commits
  10. 19 Jul, 2016 1 commit
  11. 01 Jul, 2016 1 commit
    • bmeurer's avatar
      [builtins] Unify most of the remaining Math builtins. · 0a0fe8fb
      bmeurer authored
      Import fdlibm versions of acos, acosh, asin and asinh, which are more
      precise and produce the same result across platforms (we were using
      libm versions for asin and acos so far, where both speed and precision
      depended on the operating system so far). Introduce appropriate TurboFan
      operators for these functions and use them both for inlining and for the
      generic builtin.
      
      Also migrate the Math.imul and Math.fround builtins to TurboFan builtins
      to ensure that their behavior is always exactly the same as the inlined
      TurboFan version (i.e. C++ truncation semantics for double to float
      don't necessarily meet the JavaScript semantics).
      
      For completeness, also migrate Math.sign, which can even get some nice
      love in TurboFan.
      
      Drive-by-fix: Some alpha-sorting on the Math related functions, and
      cleanup the list of Math intrinsics that we have to export via the
      native context currently.
      
      BUG=v8:3266,v8:3496,v8:3509,v8:3952,v8:5169,v8:5170,v8:5171,v8:5172
      TBR=rossberg@chromium.org
      R=franzih@chromium.org
      
      Review-Url: https://codereview.chromium.org/2116753002
      Cr-Commit-Position: refs/heads/master@{#37476}
      0a0fe8fb
  12. 30 Jun, 2016 2 commits
  13. 28 Jun, 2016 1 commit
  14. 23 Jun, 2016 1 commit
  15. 21 Jun, 2016 1 commit
    • rossberg's avatar
      Upgrade Wasm JS API, step 1 · 386c747b
      rossberg authored
      Implements:
      - WebAssembly object,
      - WebAssembly.Module constructor,
      - WebAssembly.Instance constructor,
      - WebAssembly.compile async method,
      - and Module and Instance instance objects.
      
      Also, changes ErrorThrower to support capturing errors in a promise reject.
      
      Since we cannot yet compile without fixing the Wasm memory, and cannot validate a module without compiling, the Module constructor and compile method don't do anything yet but checking that their argument is a suitable BufferSource. Instead of a compiled module, the hidden state of a Module object currently is just that buffer.
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2084573002
      Cr-Commit-Position: refs/heads/master@{#37143}
      386c747b
  16. 17 Jun, 2016 1 commit
    • bmeurer's avatar
      [builtins] Introduce proper Float64Exp operator. · d5f2ac5e
      bmeurer authored
      Import base::ieee754::exp() from FreeBSD msun and introduce a Float64Exp
      TurboFan operator based on that, similar to what we do for Float64Log.
      Rewrite Math.exp() as TurboFan builtin and use that operator to also
      inline Math.exp() into optimized TurboFan functions.
      
      CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng;tryserver.blink:linux_blink_rel
      BUG=v8:3266,v8:3468,v8:3493,v8:5086,v8:5108,chromium:620786
      R=mvstanton@chromium.org
      
      Committed: https://crrev.com/93e26314afc9da9b5b8bd998688262444ed73260
      Review-Url: https://codereview.chromium.org/2077533002
      Cr-Original-Commit-Position: refs/heads/master@{#37037}
      Cr-Commit-Position: refs/heads/master@{#37047}
      d5f2ac5e
  17. 16 Jun, 2016 2 commits
  18. 08 Jun, 2016 1 commit
    • gsathya's avatar
      Revert "Revert of [builtins] Properly optimize TypedArray/DataView accessors.... · 3c927e07
      gsathya authored
      Revert "Revert of [builtins] Properly optimize TypedArray/DataView accessors. (patchset #3 id:40001 of https://codereview.chromium.org/2042013003/ )"
      
      This reverts commit d3a43e47.
      
      This patch also adds typed_array_fun and typed_array_protoype to the
      native context. These are used in InstallTypedArray to set up the
      prototype chain correctly for each typed array sub class. This removes
      the need to later monkey patch them prototype chain in typedarray.js.
      This mechanism is also used to get hold of the TypedArray in
      typedarray.js, removing the need for a global TypedArray.
      
      This patch updates CallRuntime.golden to account for the two extra
      native runtime calls. This patch also fixes some formatting issues (by
      running git cl format).
      
      BUG=chromium:579905, chromium:593634, v8:4085, v8:5073
      
      Review-Url: https://codereview.chromium.org/2046333002
      Cr-Commit-Position: refs/heads/master@{#36811}
      3c927e07
  19. 03 Jun, 2016 1 commit
    • bmeurer's avatar
      [builtins] Migrate Math.log to TurboFan. · f2da19fe
      bmeurer authored
      Introduce a dedicated Float64Log machine operator, that is either
      implemented by a direct C call or by platform specific code, i.e.
      using the FPU on x64 and ia32.
      
      This operator is used to implement Math.log as a proper TurboFan
      builtin on top of the CodeStubAssembler.
      
      Also introduce a NumberLog simplified operator on top of Float64Log
      and use that for the fast inline path of Math.log inside TurboFan
      optimized code.
      
      BUG=v8:5065
      
      Review-Url: https://codereview.chromium.org/2029413005
      Cr-Commit-Position: refs/heads/master@{#36703}
      f2da19fe
  20. 30 May, 2016 2 commits
  21. 20 May, 2016 1 commit
  22. 18 May, 2016 1 commit
  23. 17 May, 2016 2 commits
  24. 13 May, 2016 1 commit
  25. 12 May, 2016 1 commit
  26. 09 May, 2016 1 commit
    • gsathya's avatar
      Fix TypedArray Property optimizations · 41d571df
      gsathya authored
      This patch installs %TypedArray% and its prototype on the native
      context, and wires them up to each TypedArray subclass. This is later
      used to check the holder of length, byteLength and byteOffset is
      %Typedarray% and apply the appropriate optimizations.
      
      BUG=chromium:593634
      LOG=Y
      
      Review-Url: https://codereview.chromium.org/1949863002
      Cr-Commit-Position: refs/heads/master@{#36116}
      41d571df
  27. 29 Apr, 2016 2 commits
  28. 28 Apr, 2016 1 commit
  29. 25 Apr, 2016 1 commit