Skip to content

Commit

Permalink
Fix function signature for HWY_SCALAR
Browse files Browse the repository at this point in the history
Fix function signature, most liekly fixed upstream at some point.
Fixes armv7 compilation on ci.

Same fix upstream:
google/distributed_point_functions#198

Change-Id: I29260478cda231b06b8c86caa6852c0400c400bd
Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/564690
Reviewed-by: Peter Varga <[email protected]>
  • Loading branch information
Michal Klocek authored and Allan Sandfeld Jensen committed Dec 3, 2024
1 parent a1ec0e8 commit 3fc0482
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,18 @@ namespace hn = hwy::HWY_NAMESPACE;
#if HWY_TARGET == HWY_SCALAR

absl::Status EvaluateSeedsHwy(
int64_t num_seeds, int num_levels, const absl::uint128* seeds_in,
const bool* control_bits_in, const absl::uint128* paths,
int64_t num_seeds, int num_levels, int num_correction_words,
const absl::uint128* seeds_in, const bool* control_bits_in,
const absl::uint128* paths, int paths_rightshift,
const absl::uint128* correction_seeds, const bool* correction_controls_left,
const bool* correction_controls_right, const Aes128FixedKeyHash& prg_left,
const Aes128FixedKeyHash& prg_right, absl::uint128* seeds_out,
bool* control_bits_out) {
return EvaluateSeedsNoHwy(num_seeds, num_levels, seeds_in, control_bits_in,
paths, correction_seeds, correction_controls_left,
correction_controls_right, prg_left, prg_right,
seeds_out, control_bits_out);
return EvaluateSeedsNoHwy(num_seeds, num_levels, num_correction_words,
seeds_in, control_bits_in, paths, paths_rightshift,
correction_seeds, correction_controls_left,
correction_controls_right, prg_left, prg_right, seeds_out,
control_bits_out);
}

#else
Expand Down

0 comments on commit 3fc0482

Please sign in to comment.