1. 04 Mar, 2019 1 commit
  2. 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
  3. 22 Mar, 2016 1 commit
    • bmeurer's avatar
      [builtins] Add support for JS builtins written in TurboFan. · 43fe7d68
      bmeurer authored
      This CL adds support for builtins with JavaScript linkage written using
      the TurboFan CodeStubAssembler, but with a JSCall descriptor (which was
      already supported thanks to a previous patch by Ben Smith). As a first
      example, we convert the Math.sqrt builtin and thereby get rid of the
      %_MathSqrt intrinsic, which causes trouble for the representation
      selection pass in the JavaScript pipeline.
      
      R=mstarzinger@chromium.org
      
      Review URL: https://codereview.chromium.org/1824993002
      
      Cr-Commit-Position: refs/heads/master@{#34989}
      43fe7d68
  4. 18 Feb, 2016 1 commit
  5. 05 Jan, 2016 1 commit
    • sigurds's avatar
      [turbofan] Deopt support for escape analysis · 3b473d7a
      sigurds authored
      Deopt support is added on two levels. On the IR level,
      a new ObjectState node is added, which represenents an
      object to be materialized. ObjectState nodes appear as
      inputs of FrameState and StateValues nodes. On the
      instruction select/code-generation level, the
      FrameStateDescriptor class handles the nesting
      introduced by ObjectState, and ensures that deopt code
      with CAPTURED_OBJECT/DUPLICATED_OBJECT entries are
      generated similarly to what crankshaft's escape
      analysis does.
      
      Two unittests test correctness of the IR level implementation.
      
      Correctness for instruction selection / code generation
      is tested by mjsunit tests.
      
      R=jarin@chromium.org,mstarzinger@chromium.org
      BUG=v8:4586
      LOG=n
      
      Review URL: https://codereview.chromium.org/1485183002
      
      Cr-Commit-Position: refs/heads/master@{#33115}
      3b473d7a
  6. 02 Dec, 2015 1 commit
    • sigurds's avatar
      [turbofan] Initial support for escape analysis. · aa0ddf7d
      sigurds authored
      This is the first part of escape analysis for turbofan.
      At the moment, there is no deopt support, and support
      for loops is partial (only binary Phis are handled).
      
      The CL includes 4 unittests.
      
      There are also 8 new mjsunit tests, some of which are
      skiped as they require features not yet implemented.
      
      BUG=v8:4586
      LOG=n
      
      Review URL: https://codereview.chromium.org/1457683003
      
      Cr-Commit-Position: refs/heads/master@{#32498}
      aa0ddf7d
  7. 02 Dec, 2013 1 commit
  8. 22 May, 2013 1 commit
  9. 08 May, 2013 1 commit
  10. 04 Feb, 2013 1 commit
  11. 28 Jan, 2013 1 commit
  12. 23 Jan, 2013 1 commit
  13. 23 Oct, 2008 1 commit
  14. 26 Sep, 2008 1 commit
  15. 09 Sep, 2008 1 commit
  16. 22 Aug, 2008 1 commit
    • christian.plesner.hansen's avatar
      Included mjsunit JavaScript test suite and C++ unit tests. · c42f5829
      christian.plesner.hansen authored
      In the shell sample don't print the result of executing a script, only
      evaluating expressions.
      
      Fixed issue when building samples on Windows using a shared V8
      library.  Added visibility option on Linux build which makes the
      generated library 18% smaller.
      
      Changed build system to accept multiple build modes in one build and
      generate seperate objects, libraries and executables for each mode.
      
      Removed deferred negation optimization (a * -b => -(a * b)) since this
      visibly changes operand conversion order.
      
      Improved parsing performance by introducing stack guard in preparsing.
      Without a stack guard preparsing always bails out with stack overflow.
      
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      c42f5829
  17. 03 Jul, 2008 1 commit