Skip to content

Commit

Permalink
Merge pull request #58 from timzag/main
Browse files Browse the repository at this point in the history
Add support for Mac M* CPUs
  • Loading branch information
matsui528 authored Nov 13, 2023
2 parents 2255091 + 9650958 commit c40c70d
Show file tree
Hide file tree
Showing 3 changed files with 9,228 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,4 +179,4 @@ e1.merge(e2) # Now e1 contains both X1 and X2
## Credits
- The logo is designed by [@richardbmx](https://github.com/richardbmx) ([#4](https://github.com/matsui528/rii/issues/4))
- The windows implementation is by [@ashleyabraham](https://github.com/ashleyabraham) ([#42](https://github.com/matsui528/rii/pull/42))
- Fix the build by [@AonZag](https://github.com/AonZag) ([#50](https://github.com/matsui528/rii/pull/50))
- Fix the build by [@timzag](https://github.com/timzag) ([#50](https://github.com/matsui528/rii/pull/50))
3 changes: 3 additions & 0 deletions src/distance.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@
// http://koturn.hatenablog.com/entry/2016/07/18/090000
// windows is not supported, but just in case (later someone might implement)
// https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=590,27,2
// ARM64 support from sse2neon: https://github.com/DLTcollab/sse2neon
#ifdef _MSC_VER
# include <immintrin.h>
#elif defined(__aarch64__)
# include "./extern/sse2neon.h"
#else
# include <x86intrin.h>
#endif
Expand Down
Loading

0 comments on commit c40c70d

Please sign in to comment.