From 3fc0482f585d67cdc309b947b2e304eafc6ac763 Mon Sep 17 00:00:00 2001 From: Michal Klocek Date: Thu, 30 May 2024 19:15:38 +0200 Subject: [PATCH] Fix function signature for HWY_SCALAR Fix function signature, most liekly fixed upstream at some point. Fixes armv7 compilation on ci. Same fix upstream: https://github.com/google/distributed_point_functions/pull/198 Change-Id: I29260478cda231b06b8c86caa6852c0400c400bd Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/564690 Reviewed-by: Peter Varga --- .../code/dpf/internal/evaluate_prg_hwy.cc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/chromium/third_party/distributed_point_functions/code/dpf/internal/evaluate_prg_hwy.cc b/chromium/third_party/distributed_point_functions/code/dpf/internal/evaluate_prg_hwy.cc index f1e9ced63c8..af51a4f3296 100644 --- a/chromium/third_party/distributed_point_functions/code/dpf/internal/evaluate_prg_hwy.cc +++ b/chromium/third_party/distributed_point_functions/code/dpf/internal/evaluate_prg_hwy.cc @@ -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