Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I hope this is a reasonable fix, my C++ is not strong. If there's something wrong with this solution I'm happy to try another approach.
Newer Mac hardware does not use x86 processors, and as far as I can tell from the error message attached to #57,
<x86intrin.h>
isn't functional. https://github.com/DLTcollab/sse2neon seems to contain the necessary SSE intrinsics for Arm/Aarch64. It uses the MIT license.This PR adds the
sse2neon.h
header and only includes it when the current architecture is aarch64. Tested the fix on a Mac M2 (aarch64) and an AWS m5.xlarge EC2 instance (x86/64).Also fixed the attribution on a previous fix in the README, I mistakenly did that on the wrong account.
This PR resolves #57.