Add loongarch64 support#294
Conversation
LoongArch64 architecture provides two SIMD APIs: LSX (with 128-bit registers) and LASX (with 256-bit registers). Both are supported by highway. This change allows to compile ZL Equalizer for LoongArch64 linux.
Up to standards ✅🟢 Issues
|
|
Thanks for the report. Here are several questions/notes from me (as I don't have the machines to test those instructions):
If you are also not very sure about |
The analyzer seems to work correctly, and equalization works without any surprises with all the "filter strucure" values -- also I just listened to it, so I cannot be 100% that the output is exactly the same as on other architectures.
Hmm, ok. |
It is strictly advised to use same flags when compliling and linking, especially when LTO is used. To avoid breaking builds on OSs I don't have access to, this change is linux-only.
929bf17 to
5e22fab
Compare
|
Thanks for the contribution. I am merging it now. |
Description
A small series of changes to
CMakelists.txtto make ZLEqualizer buildable on loongarch64 and riscv64 linux.Tested on Loongson LS3A6000 desktop (loongarch64, in both LSX and LASX mode) and a SpacemiT K1 board (riscv64 with RVV) running linux. On both machines ZLEqualizer builds and works with this series applied.
Acknowledgments
By submitting this pull request, I acknowledge and confirm the following: