block-aligner icon indicating copy to clipboard operation
block-aligner copied to clipboard

Neon and related

Open jianshu93 opened this issue 4 years ago • 2 comments

Hello Daniel,

Can you please show some example on how to support Neon on MacOS M1 and M1 Pro/Max with this? Another question is related: the simdeez library only supports avx2 and sse2. How to allow support for neon, which library?

THanks,

Jianshu

jianshu93 avatar Nov 09 '21 16:11 jianshu93

It would require a bit of work to support Neon with the library as it is currently. My implementation directly uses my own wrapper for SIMD instructions, so a separate wrapper needs to be made for Neon. Do you need this feature?

I'm not sure how simdeez works in detail, since I did not use it in this library.

Daniel-Liu-c0deb0t avatar Nov 18 '21 21:11 Daniel-Liu-c0deb0t

Just chiming in to say that I'm actively using block-aligner, and have moved to an M1* laptop recently, and would also really like neon support. I have several reasons for keeping an older x86 laptop around, but they are dwindling fast, and this is one of them.

tfenne avatar Mar 09 '22 14:03 tfenne

Neon support should be added in the latest commit (PR #17)!

Daniel-Liu-c0deb0t avatar Nov 12 '22 22:11 Daniel-Liu-c0deb0t

Tests showed that it works on my m1 pro.

Many thanks!

Jianshu

jianshu93 avatar Nov 13 '22 00:11 jianshu93