1. 30 Jan, 2017 1 commit
  2. 04 Jan, 2017 1 commit
    • bmeurer's avatar
      [turbofan] Recognize and optimize flooring integer division. · 2a60fd49
      bmeurer authored
      Recognize the special
      
        NumberFloor(NumberDivide(lhs, rhs))
      
      subgraph in TypedOptimization, where both lhs and rhs are in the
      Unsigned32 range, and the result is a PlainNumber, and replace the
      NumberFloor with a NumberToUint32 truncation.
      
      This could be done in a cleaner way if we have a dedicated type for all
      double values in the Unsigned32 range, but that would complicate the
      type system quite a bit.
      
      R=jarin@chromium.org
      BUG=v8:5267
      
      Review-Url: https://codereview.chromium.org/2614663002
      Cr-Commit-Position: refs/heads/master@{#42063}
      2a60fd49
  3. 09 Nov, 2016 1 commit
  4. 17 Oct, 2016 2 commits
  5. 29 Aug, 2016 1 commit
    • bmeurer's avatar
      [turbofan] Remove the unused asm.js types from TypeCache. · f5a37d13
      bmeurer authored
      For asm.js we now have a dedicated AsmTyper, that uses it's own type
      system (which is tailored towards asm.js), and so we don't need the
      special asm.js types anymore in the TypeCache. This also moves the
      TypeCache into the src/compiler directory, because it doesn't make
      sense to use outside anyways.
      
      TBR=ahaas@chromium.org
      R=jarin@chromium.org
      BUG=v8:5267
      
      Review-Url: https://codereview.chromium.org/2289573002
      Cr-Commit-Position: refs/heads/master@{#38964}
      f5a37d13
  6. 26 Aug, 2016 1 commit
    • bmeurer's avatar
      [turbofan] Separate typed optimizations from JSTypedLowering. · f154c75a
      bmeurer authored
      Introduce a new TypedOptimization reducer that contains the type
      based optimization reduction steps, which are not (directly)
      related to lowering JavaScript operators based on types (which is
      what JSTypedLowering is supposed to do).
      
      This also addresses a chicken-and-egg problem that we see in the
      Octane/Mandreel benchmark where type based constant folding isn't
      applied to the numeric comparison operators introduced by the
      JSTypedLowering itself, and thus gives up to 10% speedup for the
      benchmark.
      
      BUG=v8:5267
      
      Review-Url: https://codereview.chromium.org/2280673003
      Cr-Commit-Position: refs/heads/master@{#38928}
      f154c75a