1. 23 Jun, 2016 1 commit
  2. 22 Jun, 2016 3 commits
  3. 20 Jun, 2016 4 commits
    • bjaideep's avatar
      PPC/s390: [builtins] Introduce proper Float64Tan operator. · f1c2729d
      bjaideep authored
      Port c87168bc
      
      Original commit message:
      
          Import base::ieee754::tan() from fdlibm and introduce Float64Tan TurboFan
          operator based on that, similar to what we do for Float64Cos and Float64Sin.
          Rewrite Math.tan() as TurboFan builtin and use those operators to also
          inline Math.tan() into optimized TurboFan functions.
      
          Drive-by-fix: Kill the %_ConstructDouble intrinsics, and provide only
          the %ConstructDouble runtime entry for writing tests.
      
      R=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
      
      BUG=v8:5086,v8:5126
      LOG=N
      
      Review-Url: https://codereview.chromium.org/2080303002
      Cr-Commit-Position: refs/heads/master@{#37115}
      f1c2729d
    • yangguo's avatar
      Simplify AssemblerPositionsRecorder. · 9c3d730d
      yangguo authored
      R=bmeurer@chromium.org, jgruber@chromium.org
      
      Review-Url: https://codereview.chromium.org/2072963003
      Cr-Commit-Position: refs/heads/master@{#37089}
      9c3d730d
    • bmeurer's avatar
      [builtins] Introduce proper Float64Tan operator. · c87168bc
      bmeurer authored
      Import base::ieee754::tan() from fdlibm and introduce Float64Tan TurboFan
      operator based on that, similar to what we do for Float64Cos and Float64Sin.
      Rewrite Math.tan() as TurboFan builtin and use those operators to also
      inline Math.tan() into optimized TurboFan functions.
      
      Drive-by-fix: Kill the %_ConstructDouble intrinsics, and provide only
      the %ConstructDouble runtime entry for writing tests.
      
      BUG=v8:5086,v8:5126
      R=yangguo@chromium.org
      
      Review-Url: https://codereview.chromium.org/2083453002
      Cr-Commit-Position: refs/heads/master@{#37087}
      c87168bc
    • bjaideep's avatar
      PPC/s390: [builtins] Introduce proper Float64Cos and Float64Sin. · f7e7c32d
      bjaideep authored
      Port c781e831
      Port 4d4eb611
      
      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.
      
          Unify Atanh, Cbrt and Expm1 as exports from flibm.
      
      R=bmeurer@chromium.org, mvstanton@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
      
      BUG=v8:5086,v8:5118,v8:5103
      LOG=N
      
      Review-Url: https://codereview.chromium.org/2078273002
      Cr-Commit-Position: refs/heads/master@{#37083}
      f7e7c32d
  4. 18 Jun, 2016 1 commit
    • bjaideep's avatar
      PPC/s390: [builtins] Introduce proper Float64Exp operator. · a54e289e
      bjaideep authored
      Port d5f2ac5e
      
      Original commit message:
      
          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.
      
      R=bmeurer@chromium.org, mvstanton@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
      
      BUG=v8:3266,v8:3468,v8:3493,v8:5086,v8:5108,chromium:620786
      LOG=N
      
      Review-Url: https://codereview.chromium.org/2075263002
      Cr-Commit-Position: refs/heads/master@{#37073}
      a54e289e
  5. 17 Jun, 2016 2 commits
    • bmeurer's avatar
      [builtins] Introduce proper Float64Cos and Float64Sin. · c781e831
      bmeurer authored
      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.
      
      CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng;tryserver.blink:linux_blink_rel
      R=mvstanton@chromium.org
      BUG=v8:5086,v8:5118
      
      Review-Url: https://codereview.chromium.org/2073123002
      Cr-Commit-Position: refs/heads/master@{#37072}
      c781e831
    • 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
  6. 16 Jun, 2016 2 commits
  7. 14 Jun, 2016 4 commits
  8. 13 Jun, 2016 2 commits
  9. 10 Jun, 2016 4 commits
  10. 09 Jun, 2016 2 commits
  11. 08 Jun, 2016 5 commits
  12. 07 Jun, 2016 3 commits
    • bryleun's avatar
      S390: Used RISBG in MacroAssembler::IndexToArrayOffset to improve performance. · 1f2eaa1c
      bryleun authored
      R=joransiu@ca.ibm.com,michael_dawson@ca.ibm.com,mbrandy@us.ibm.com,jyan@ca.ibm.com
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2043843002
      Cr-Commit-Position: refs/heads/master@{#36796}
      1f2eaa1c
    • machenbach's avatar
      Revert of [builtins] Properly optimize TypedArray/DataView accessors.... · d3a43e47
      machenbach authored
      Revert of [builtins] Properly optimize TypedArray/DataView accessors. (patchset #3 id:40001 of https://codereview.chromium.org/2042013003/ )
      
      Reason for revert:
      Blink:
      https://build.chromium.org/p/client.v8.fyi/builders/V8-Blink%20Linux%2064/builds/7296
      
      Original issue's description:
      > [builtins] Properly optimize TypedArray/DataView accessors.
      >
      > The following getters were moved to the TypedArray/DataView prototype
      > chain with ES2015, and hence need different treatment now:
      >
      > - DataView.prototype.buffer
      > - DataView.prototype.byteLength
      > - DataView.prototype.byteOffset
      > - TypedArray.prototype.buffer
      > - TypedArray.prototype.byteLength
      > - TypedArray.prototype.byteOffset
      > - TypedArray.prototype.length
      >
      > Instead of having special magic on the LoadIC in the IC system and the
      > optimizing compilers, as we used to do before (and which we got rid of
      > already), we just treat those as normal accessors and make them
      > recognizable via the BuiltinFunctionId mechanism. This allows us to
      > remove some of the additional magic from the IC subsystem, and just
      > extend the BuiltinFunctionId mechanism in Crankshaft slightly to cover
      > these cases too (TurboFan doesn't yet support accessors, but that will
      > be fixed soonish anyways).
      >
      > This addresses most of the 15-20% regression we saw on the Octane
      > GameBoy emulator benchmark.
      >
      > BUG=chromium:579905,chromium:593634,v8:4085,v8:5073
      > R=yangguo@chromium.org
      >
      > Committed: https://crrev.com/1ef737026565ea2becc84f30cfd432e581d50c6b
      > Cr-Commit-Position: refs/heads/master@{#36782}
      
      TBR=yangguo@chromium.org,bmeurer@chromium.org
      # Skipping CQ checks because original CL landed less than 1 days ago.
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=chromium:579905,chromium:593634,v8:4085,v8:5073
      
      Review-Url: https://codereview.chromium.org/2039093005
      Cr-Commit-Position: refs/heads/master@{#36783}
      d3a43e47
    • bmeurer's avatar
      [builtins] Properly optimize TypedArray/DataView accessors. · 1ef73702
      bmeurer authored
      The following getters were moved to the TypedArray/DataView prototype
      chain with ES2015, and hence need different treatment now:
      
      - DataView.prototype.buffer
      - DataView.prototype.byteLength
      - DataView.prototype.byteOffset
      - TypedArray.prototype.buffer
      - TypedArray.prototype.byteLength
      - TypedArray.prototype.byteOffset
      - TypedArray.prototype.length
      
      Instead of having special magic on the LoadIC in the IC system and the
      optimizing compilers, as we used to do before (and which we got rid of
      already), we just treat those as normal accessors and make them
      recognizable via the BuiltinFunctionId mechanism. This allows us to
      remove some of the additional magic from the IC subsystem, and just
      extend the BuiltinFunctionId mechanism in Crankshaft slightly to cover
      these cases too (TurboFan doesn't yet support accessors, but that will
      be fixed soonish anyways).
      
      This addresses most of the 15-20% regression we saw on the Octane
      GameBoy emulator benchmark.
      
      BUG=chromium:579905,chromium:593634,v8:4085,v8:5073
      R=yangguo@chromium.org
      
      Review-Url: https://codereview.chromium.org/2042013003
      Cr-Commit-Position: refs/heads/master@{#36782}
      1ef73702
  13. 06 Jun, 2016 4 commits
  14. 03 Jun, 2016 3 commits
    • 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
    • zhengxing.li's avatar
      X87: IC: Eliminate initialization_state as a factor in IC installation. · 82bce6a9
      zhengxing.li authored
        port 56d90782 (r36597)
      
        original commit message:
        In Crankshaft, we would install special ICs that didn't need a vector and slot
        in the MEGAMORPHIC case. This optimization limits our hand against future
        improvements.
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2030303002
      Cr-Commit-Position: refs/heads/master@{#36700}
      82bce6a9
    • zhengxing.li's avatar
      X87: Temporary workaround for X87 FPU convert SNaN to QNaN automatically issue. · 22a73e0d
      zhengxing.li authored
        x87 FPU converts the SNaN to QNaN automatically when loading SNaN from memmory. This function caused v8 x87 port can't distinguish the
        Hole NaN (V8 used SNaN for it) from Javascript visible NaNs (V8 used QNaN for it).
      
        Many test cases failed in this function for v8 x87 port. It's a big effort to refactor all code of x87 FPU loads value from memmory to
        fix this issue.
      
        So here's a temporary workaround for it, what's this CL does are:
        1. Removed all previous x87 workaround of this issue.
        2. Used SNaN of MIPS which is a not used QNaN in v8 x87 port as the Hole NaN for v8 x87 port.
        3. This CL is only local to x87 port.
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2033133004
      Cr-Commit-Position: refs/heads/master@{#36697}
      22a73e0d