RabbitMash
RabbitMash copied to clipboard
support for aarch64 (Neon)?
Dear RabbitMash team,
Thanks for making Mash so fast! I am wondering whether it also supports aarch64 like cpu instructions, for example, macOS M1/M2 series and Linux aarch64 (e.g., Huawei Kunpeng 920). I have no problems for other instructions.
Thanks,
Jianshu
Hi, I'm pretty sure most of the SIMD kernels can be implemented using the 128bit NEON intrinsics. I think the easiest way to do this is just porting the SSE code to NEON. Unfortunately, I don't have an aarch64 device at the moment, and I'm a little bit busy with another project recently. I think I can try to port the SSE version to NEON version at the end of April.
Best, Zekun
Hello Zekun,
Many thanks for the quick response. I would love to test on macOS aarch64 and I also think the sse2neon will be very useful to port sse to neon,as you described. For Linux aarch64,I will ask for a friend for help if needed.
Thanks,
Jianshu