Skip to content

Commit

Permalink
highway: clean up some unused parameters
Browse files Browse the repository at this point in the history
These parameters are unreferenced, and when building with `-Werror` and a newer
compiler can cause build failures due to the unused parameters.  Workaround the
issue by removing the names of the parameters.

PiperOrigin-RevId: 430969468
  • Loading branch information
compnerd authored and copybara-github committed Feb 25, 2022
1 parent d9b9641 commit a8a6dd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hwy/ops/x86_128-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -1954,13 +1954,13 @@ HWY_API void BlendedStore(Vec128<T, N> v, Mask128<T, N> m,

template <size_t N>
HWY_API void BlendedStore(Vec128<float, N> v, Mask128<float, N> m,
Simd<float, N, 0> d, float* HWY_RESTRICT p) {
Simd<float, N, 0>, float* HWY_RESTRICT p) {
_mm_mask_storeu_ps(p, m.raw, v.raw);
}

template <size_t N>
HWY_API void BlendedStore(Vec128<double, N> v, Mask128<double, N> m,
Simd<double, N, 0> d, double* HWY_RESTRICT p) {
Simd<double, N, 0>, double* HWY_RESTRICT p) {
_mm_mask_storeu_pd(p, m.raw, v.raw);
}

Expand Down

0 comments on commit a8a6dd9

Please sign in to comment.