1. 06 Feb, 2016 2 commits
  2. 27 Jan, 2016 1 commit
  3. 16 Jan, 2016 2 commits
    • ahaas's avatar
      [turbofan] Add the RoundInt32ToFloat32 operator to turbofan. · e06f7d78
      ahaas authored
      The new operator converts an int32 input to float32. If the input cannot
      be represented exactly in float32, the value is rounded using the
      round-ties-even rounding mode (the default rounding mode).
      
      I provide implementations of the new operator for x64, ia32, arm, arm64,
      mips, mips64, ppc, and ppc64.
      
      R=titzer@chromium.org, v8-arm-ports@googlegroups.com, v8-mips-ports@googlegroups.com, v8-ppc-ports@googlegroups.com
      
      Review URL: https://codereview.chromium.org/1589363002
      
      Cr-Commit-Position: refs/heads/master@{#33347}
      e06f7d78
    • ahaas's avatar
      [turbofan] Add the TruncateFloat32ToInt32 operator to turbofan. · fc53eed1
      ahaas authored
      The new operator converts a float32 input to int32 through truncation.
      I provide implementations of the new operator for x64, ia32, arm,
      arm64, mips, mips64, and x87. @v8-ppc-ports, can you please take care
      of the ppc implementation?
      
      R=titzer@chromium.org, v8-arm-ports@googlegroups.com, v8-mips-ports@googlegroups.com, weiliang.lin@intel.com
      
      Review URL: https://codereview.chromium.org/1583323004
      
      Cr-Commit-Position: refs/heads/master@{#33346}
      fc53eed1
  4. 11 Jan, 2016 1 commit
  5. 24 Dec, 2015 1 commit
  6. 22 Dec, 2015 1 commit
  7. 21 Dec, 2015 1 commit
    • ahaas's avatar
      [turbofan] Pass type information of arguments to EmitPrepareArguments. · c0c8c756
      ahaas authored
      On ia32 the code which pushes parameters on the stack depends on the
      types of the parameters which are to be pushed. I provide this type
      information now by not only passing parameter nodes to
      EmitPrepareArguments, but also the index in the call descriptor which
      belongs to the parameter nodes.
      
      This type information will also be necessary if we want to use the
      PokePair instruction on arm64 again.
      
      R=bradnelson@chromium.org, bmeurer@chromium.org
      
      Review URL: https://codereview.chromium.org/1534593004
      
      Cr-Commit-Position: refs/heads/master@{#32982}
      c0c8c756
  8. 18 Dec, 2015 1 commit
  9. 11 Dec, 2015 2 commits
  10. 10 Dec, 2015 2 commits
    • jarin's avatar
      [turbofan] Make MachineType a pair of enums. · bb2a830d
      jarin authored
      MachineType is now a class with two enum fields:
      - MachineRepresentation
      - MachineSemantic
      
      Both enums are usable on their own, and this change switches some places from using MachineType to use just MachineRepresentation. Most notably:
      - register allocator now uses just the representation.
      - Phi and Select nodes only refer to representations.
      
      Review URL: https://codereview.chromium.org/1513543003
      
      Cr-Commit-Position: refs/heads/master@{#32738}
      bb2a830d
    • ahaas's avatar
      [turbofan] Change TruncateFloat32ToInt64 to TryTruncateFloat32ToInt64. · 28261daa
      ahaas authored
      This operator now provides a second output which indicates whether the
      conversion from float32 to int64 was successful or not. The second output
      returns 0 if the conversion fails, or something else if the conversion succeeds.
      
      The second output can be ignored, which means that the operator can be used the
      same as the original operator.
      
      I implement the new operator on x64, arm64, and mips64. @v8-ppc-ports, can you
      please take care of the ppc64 implementation of the second output?
      
      R=titzer@chromium.org, v8-arm-ports@googlegroups.com, v8-mips-ports@googlegroups.com
      
      Review URL: https://codereview.chromium.org/1504363002
      
      Cr-Commit-Position: refs/heads/master@{#32737}
      28261daa
  11. 09 Dec, 2015 1 commit
    • ahaas's avatar
      [turbofan] Change TruncateFloat64ToUint64 to TryTruncateFloatToUint64. · c343f309
      ahaas authored
      This operator now provides a second output which indicates whether the conversion from float64 to uint64 was successful or not. The second output returns 0 if the conversion fails, or something else if the conversion succeeds.
      
      The second output can be ignored, which means that the operator can be used the same as the original operator.
      
      I implement the new operator on x64 and arm64. @v8-mips-ports and @v8-ppc-ports, can you please take care of the mips64 and ppc64 implementation of the second output?
      
      R=titzer@chromium.org, v8-arm-ports@googlegroups.com
      
      Review URL: https://codereview.chromium.org/1507703002
      
      Cr-Commit-Position: refs/heads/master@{#32705}
      c343f309
  12. 08 Dec, 2015 1 commit
  13. 07 Dec, 2015 3 commits
    • dusan.m.milosavljevic's avatar
      MIPS: [turbofan] Combine ChangeFloat64ToInt32 with Float64Round ops. · 0d4f8a91
      dusan.m.milosavljevic authored
      TEST=unittests/InstructionSlectorTest.CombineChangeFloat64ToInt32WithRoundFloat64
      BUG=
      
      Review URL: https://codereview.chromium.org/1510493002
      
      Cr-Commit-Position: refs/heads/master@{#32668}
      0d4f8a91
    • ivica.bogosavljevic's avatar
      MIPS64: [turbofan] Changed TruncateFloat64ToInt64 to TryTruncateFloat64ToInt64 · 80f2a639
      ivica.bogosavljevic authored
      Port 95844d94
      
      Original commit message:
      The new operator provides a second output which indicates whether the
      conversion from float64 to int64 was successful or not. The second
      output returns 0 if the conversion fails. If the conversion succeeds,
      then the second output is differs from 0.
      
      The second output can be ignored, which means that the operator can be
      used the same way as the original operator.
      
      I implemented the new operator on x64 and arm64. @v8-mips-ports and
      @v8-ppc-ports, can you please take care of the mips64 and ppc64
      implementation of the second output?
      
      BUG=
      TEST=cctest/test-run-machops/RunTryTruncateFloat64ToInt64WithCheck
      
      Review URL: https://codereview.chromium.org/1503173002
      
      Cr-Commit-Position: refs/heads/master@{#32664}
      80f2a639
    • ahaas's avatar
      [turbofan] Changed TruncateFloat64ToInt64 to TryTruncateFloat64ToInt64. · 95844d94
      ahaas authored
      The new operator provides a second output which indicates whether the
      conversion from float64 to int64 was successful or not. The second
      output returns 0 if the conversion fails. If the conversion succeeds,
      then the second output is differs from 0.
      
      The second output can be ignored, which means that the operator can be
      used the same way as the original operator.
      
      I implemented the new operator on x64 and arm64. @v8-mips-ports and
      @v8-ppc-ports, can you please take care of the mips64 and ppc64
      implementation of the second output?
      
      R=titzer@chromium.org, v8-arm-ports@googlegroups.com
      
      Review URL: https://codereview.chromium.org/1495213003
      
      Cr-Commit-Position: refs/heads/master@{#32653}
      95844d94
  14. 04 Dec, 2015 1 commit
  15. 01 Dec, 2015 3 commits
  16. 28 Nov, 2015 1 commit
  17. 27 Nov, 2015 1 commit
  18. 26 Nov, 2015 4 commits
  19. 25 Nov, 2015 4 commits
  20. 20 Nov, 2015 3 commits
  21. 19 Nov, 2015 2 commits
  22. 17 Nov, 2015 2 commits