fix return type of vmovl_high_s8

also add -flax-vector-conversions=none to the build

closes https://github.com/official-stockfish/Stockfish/pull/6587

No functional change
This commit is contained in:
anematode
2026-02-04 17:32:48 +01:00
committed by Joost VandeVondele
parent 823b04e58a
commit 0d26c61ff2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -515,7 +515,7 @@ ifeq ($(COMP),clang)
endif endif
CXXFLAGS += -pedantic -Wextra -Wshadow -Wmissing-prototypes \ CXXFLAGS += -pedantic -Wextra -Wshadow -Wmissing-prototypes \
-Wconditional-uninitialized -Wconditional-uninitialized -flax-vector-conversions=none
ifeq ($(filter $(KERNEL),Darwin OpenBSD FreeBSD),) ifeq ($(filter $(KERNEL),Darwin OpenBSD FreeBSD),)
ifeq ($(target_windows),) ifeq ($(target_windows),)
+1 -1
View File
@@ -216,7 +216,7 @@ static constexpr std::uint32_t Mask[4] = {1, 2, 4, 8};
#ifndef __aarch64__ #ifndef __aarch64__
// Single instruction doesn't exist on 32-bit ARM // Single instruction doesn't exist on 32-bit ARM
inline int8x16_t vmovl_high_s8(int8x16_t val) { return vmovl_s8(vget_high_s8(val)); } inline int16x8_t vmovl_high_s8(int8x16_t val) { return vmovl_s8(vget_high_s8(val)); }
#endif #endif
#else #else