mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-25 03:26:24 +08:00
Yet another pop_1st_bit() optimization
Always for 32 bit but withot relying on MSVC intrinsics. It is very similar to previous ones, but this does not segfaults due to -fno-strict-aliasing compiler option. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -78,7 +78,7 @@ CXXFLAGS += -Wall -g
|
||||
# General optimization flags. Note that -O2 might be faster than -O3 on some
|
||||
# systems; this requires testing.
|
||||
|
||||
CXXFLAGS += -O3 -fno-exceptions -fomit-frame-pointer -fno-rtti -fstrict-aliasing
|
||||
CXXFLAGS += -O3 -fno-exceptions -fomit-frame-pointer -fno-rtti -fno-strict-aliasing
|
||||
|
||||
# Disable most annoying warnings for the Intel C++ compiler
|
||||
|
||||
|
||||
Reference in New Issue
Block a user