Skip to content

Commit ffdf108

Browse files
author
Michal Klocek
committed
[269]Fix function signature for HWY_SCALAR
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 <pvarga@inf.u-szeged.hu>
1 parent 964b697 commit ffdf108

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

chromium/third_party/distributed_point_functions/code/dpf/internal/evaluate_prg_hwy.cc

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,18 @@ namespace hn = hwy::HWY_NAMESPACE;
5050
#if HWY_TARGET == HWY_SCALAR
5151

5252
absl::Status EvaluateSeedsHwy(
53-
int64_t num_seeds, int num_levels, const absl::uint128* seeds_in,
54-
const bool* control_bits_in, const absl::uint128* paths,
53+
int64_t num_seeds, int num_levels, int num_correction_words,
54+
const absl::uint128* seeds_in, const bool* control_bits_in,
55+
const absl::uint128* paths, int paths_rightshift,
5556
const absl::uint128* correction_seeds, const bool* correction_controls_left,
5657
const bool* correction_controls_right, const Aes128FixedKeyHash& prg_left,
5758
const Aes128FixedKeyHash& prg_right, absl::uint128* seeds_out,
5859
bool* control_bits_out) {
59-
return EvaluateSeedsNoHwy(num_seeds, num_levels, seeds_in, control_bits_in,
60-
paths, correction_seeds, correction_controls_left,
61-
correction_controls_right, prg_left, prg_right,
62-
seeds_out, control_bits_out);
60+
return EvaluateSeedsNoHwy(num_seeds, num_levels, num_correction_words,
61+
seeds_in, control_bits_in, paths, paths_rightshift,
62+
correction_seeds, correction_controls_left,
63+
correction_controls_right, prg_left, prg_right, seeds_out,
64+
control_bits_out);
6365
}
6466

6567
#else

0 commit comments

Comments
 (0)