]> git.sesse.net Git - stockfish/commitdiff
Use posix_memalign for Apple Silicon instead of _mm_malloc
authorDaylen Yang <services@daylenyang.com>
Tue, 11 Aug 2020 19:02:48 +0000 (12:02 -0700)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Wed, 12 Aug 2020 05:49:36 +0000 (07:49 +0200)
fails to build on that target, because of missing Intel Intrinsics.
macOS has posix_memalign() since ~2014 so we can simplify the code and just use that for all Apple platforms.

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

No functional change.


No differences found