diff options
author | 2019-02-25 20:03:42 -0800 | |
---|---|---|
committer | 2019-02-28 17:44:51 +0000 | |
commit | 1ad3935b39da78a403e7df7a3813f866c731bc64 (patch) | |
tree | 4c0b6a742d68947162aea49171c4ece244ca43e8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | arm64: io: Hook up __io_par() for inX() ordering (diff) | |
download | linux-dev-1ad3935b39da78a403e7df7a3813f866c731bc64.tar.xz linux-dev-1ad3935b39da78a403e7df7a3813f866c731bc64.zip |
lib/raid6: use vdupq_n_u8 to avoid endianness warnings
Clang warns: vector initializers are not compatible with NEON intrinsics
in big endian mode [-Wnonportable-vector-initialization]
While this is usually the case, it's not an issue for this case since
we're initializing the uint8x16_t (16x uint8_t's) with the same value.
Instead, use vdupq_n_u8 which both compilers lower into a single movi
instruction: https://godbolt.org/z/vBrgzt
This avoids the static storage for a constant value.
Link: https://github.com/ClangBuiltLinux/linux/issues/214
Suggested-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions