Closed edwenger closed 1 year ago
This seems to be the trick: https://github.com/DLTcollab/sse2neon
Put the file sse2neon.h
in to your source code directory.
Locate the following SSE header files included in the code:
#include <xmmintrin.h>
#include <emmintrin.h>
{p,t,s,n,w}mmintrin.h should be replaceable, but the coverage of these extensions might be limited though.
Replace them with:
#include "sse2neon.h"
See b37441215deba484aa745b7f7ec0c0f0835811f4
Generalizing to either the Mac M1 or Linux case with pre-processor directives (as described here):
See commit https://github.com/edwenger/emodlib/commit/88d6d7eef13981c4f081fff730791e90f658787d
Seems to be related to these: