1. 11 Aug, 2021 6 commits
  2. 10 Aug, 2021 30 commits
  3. 09 Aug, 2021 4 commits
    • Francis McCabe's avatar
      Reland "[wasm] fix float to/from int reinterpretation tests" · 3eb90f69
      Francis McCabe authored
      This reverts commit c1f45d81.
      
      Reason for revert: Not the true culprit
      
      Original change's description:
      > Revert "[wasm] fix float to/from int reinterpretation tests"
      >
      > This reverts commit e6f7a347.
      >
      > Reason for revert: This appears to be causing failures on linux and arm. E.g., https://logs.chromium.org/logs/v8/buildbucket/cr-buildbucket.appspot.com/8839349751927275456/+/u/Check/bound-functions-serialize and https://ci.chromium.org/ui/p/v8/builders/ci/V8%20Mac%20-%20arm64%20-%20release/5605/overview
      >
      >
      > Original change's description:
      > > [wasm] fix float to/from int reinterpretation tests
      > >
      > > F32ReinterpretI32 and I32ReinterpretF32 tests don't actually have
      > > floating point values involved during testing and only use
      > > integers.
      > >
      > > This CL adds FP values as well as fixes the test names to match
      > > their operation.
      > >
      > > Change-Id: I321a7f7af8ae93f6eae4fa263f8e8d0b7bf4d672
      > > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3078381
      > > Reviewed-by: Zhi An Ng <zhin@chromium.org>
      > > Commit-Queue: Milad Fa <mfarazma@redhat.com>
      > > Cr-Commit-Position: refs/heads/master@{#76181}
      >
      > Change-Id: Ie333028bdc7b11f982ac1464bcd8ce1c1ca41657
      > No-Presubmit: true
      > No-Tree-Checks: true
      > No-Try: true
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3082747
      > Auto-Submit: Francis McCabe <fgm@chromium.org>
      > Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
      > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
      > Cr-Commit-Position: refs/heads/master@{#76182}
      
      Change-Id: I15f3e8727c600ed517f7fa3e09f57dd23f89b384
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3082751
      Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
      Reviewed-by: 's avatarZhi An Ng <zhin@chromium.org>
      Commit-Queue: Zhi An Ng <zhin@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#76183}
      3eb90f69
    • Francis McCabe's avatar
      Revert "[wasm] fix float to/from int reinterpretation tests" · c1f45d81
      Francis McCabe authored
      This reverts commit e6f7a347.
      
      Reason for revert: This appears to be causing failures on linux and arm. E.g., https://logs.chromium.org/logs/v8/buildbucket/cr-buildbucket.appspot.com/8839349751927275456/+/u/Check/bound-functions-serialize and https://ci.chromium.org/ui/p/v8/builders/ci/V8%20Mac%20-%20arm64%20-%20release/5605/overview
      
      
      Original change's description:
      > [wasm] fix float to/from int reinterpretation tests
      >
      > F32ReinterpretI32 and I32ReinterpretF32 tests don't actually have
      > floating point values involved during testing and only use
      > integers.
      >
      > This CL adds FP values as well as fixes the test names to match
      > their operation.
      >
      > Change-Id: I321a7f7af8ae93f6eae4fa263f8e8d0b7bf4d672
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3078381
      > Reviewed-by: Zhi An Ng <zhin@chromium.org>
      > Commit-Queue: Milad Fa <mfarazma@redhat.com>
      > Cr-Commit-Position: refs/heads/master@{#76181}
      
      Change-Id: Ie333028bdc7b11f982ac1464bcd8ce1c1ca41657
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3082747
      Auto-Submit: Francis McCabe <fgm@chromium.org>
      Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
      Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
      Cr-Commit-Position: refs/heads/master@{#76182}
      c1f45d81
    • Milad Fa's avatar
      [wasm] fix float to/from int reinterpretation tests · e6f7a347
      Milad Fa authored
      F32ReinterpretI32 and I32ReinterpretF32 tests don't actually have
      floating point values involved during testing and only use
      integers.
      
      This CL adds FP values as well as fixes the test names to match
      their operation.
      
      Change-Id: I321a7f7af8ae93f6eae4fa263f8e8d0b7bf4d672
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3078381Reviewed-by: 's avatarZhi An Ng <zhin@chromium.org>
      Commit-Queue: Milad Fa <mfarazma@redhat.com>
      Cr-Commit-Position: refs/heads/master@{#76181}
      e6f7a347
    • Camillo Bruni's avatar
      Reland "[counters] Fix reentrant timers for V8.Execute" · f688fe08
      Camillo Bruni authored
      This is a reland of fffcbaea
      
      Additional fixes:
      - Relax IsStarted DCHECKs in ElapsedTimer for paused_elapsed
      - Add LogEventStatus enum in the API for better testing
      - Rename Logger::StartEnd enum values to kXXX
      - Add additional NestedTimedHistogramScope tests
      
      Original change's description:
      > [counters] Fix reentrant timers for V8.Execute
      >
      > This CL fixes a long standing issue where reentering TimedHistograms
      > scopes would cause spurious measurements. Only the non-nested scopes
      > yielded correct results.
      >
      > Due to the changed numbers, the V8.Execute histogram is renamed to
      > V8.ExecuteMicroSeconds. Note that this histogram is also guarded
      > behind the --slow-histograms flag due to the additional overhead.
      >
      > Unlike before, it does no longer include time for external callbacks
      > and only measures self time. The following example illustrates the
      > new behaviour:
      >
      > 1. Enter V8:           |--+.......+--| self-time: 4 units (reported)
      > 2. Exit V8 (callback):    |-+...+-|    self-time: 2 units (ignored)
      > 3. Re-enter V8:             |---|      self-time: 3 units (reported)
      >
      > This would result in 2 histogram entries with 4 time units for the first
      > V8 slice and 3 units for the nested part. Note that the callback time
      > itself is ignored.
      >
      > This CL attempts to clean up how TimedHistograms work:
      > - Histogram: the base class
      > - TimedHistograms: used for time-related histograms that are not nested
      > - NestedTimeHistograms: Extends TimedHistograms and is used for nested
      >   histograms
      >
      > This CL changes Histograms to not measure time themselves. Measurements
      > happen in the *HistogramScopes:
      > - BaseTimedHistogramScope: Base functionality
      > - TimedHistogramScope: For non-nested measurements
      > - NestedTimedHistogramScope: For nested measurements
      > - PauseNestedTimedHistogramScope: Ignore time during a given scope.
      >   This is used to pause timers during callbacks.
      >
      > Additional changes:
      > - ExternalCallbackScope now contains a PauseNestedTimedHistogramScope
      >   and always sets VMState<EXTERNAL>
      >
      > Bug: v8:11946
      > Change-Id: I45e4b7ff77b5948b605dd50539044cb26222fa21
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3001345
      > Reviewed-by: Omer Katz <omerkatz@chromium.org>
      > Reviewed-by: Thibaud Michaud <thibaudm@chromium.org>
      > Reviewed-by: Victor Gomes <victorgomes@chromium.org>
      > Reviewed-by: Leszek Swirski <leszeks@chromium.org>
      > Commit-Queue: Camillo Bruni <cbruni@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#76111}
      
      Bug: v8:11946
      Change-Id: Ic2eef7456fbc245febcf780b23418f6ab0bebdb7
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3080566
      Commit-Queue: Camillo Bruni <cbruni@chromium.org>
      Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Reviewed-by: 's avatarVictor Gomes <victorgomes@chromium.org>
      Reviewed-by: 's avatarThibaud Michaud <thibaudm@chromium.org>
      Reviewed-by: 's avatarOmer Katz <omerkatz@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#76180}
      f688fe08