mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 20:57:10 +00:00
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:
committed by
Joost VandeVondele
parent
823b04e58a
commit
0d26c61ff2
+1
-1
@@ -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
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user