-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port Swarm to other platforms #107
Comments
or ARM64, as it seems to be the future for consumer electronics. |
I have rewritten the assembly code in search8.cc and search16.cc to x86_64 intrinsics and simplified it. (Not pushed to Github yet.) It should now be easy to port it to ARM64 and POWER8. It will also make it easier to rewrite the code to use AVX2 with 256-bit wide registers as discussed for issue #12. |
The changes with intrinsics have been pushed already. The zobrist branch is renamed to swarm3. |
Swarm 3 now seems to work as it should on ARMv8. The sixteen channel 8-bit search is slower than the 16-bit search though, so it is not used. |
Added support for POWER8 CPUs. Not very fast though, compared to x86_64 and ARMv8. |
Ported to Windows as well. It now runs on Linux (x86_64, arm & power8), Mac (x86_64) and Windows (x86_64). Considered done. |
Hi Torbjørn, I finally set out to test compilation on my ARM system (Raspberry pi 3+), but it fails: git clone https://github.com/torognes/swarm.git
cd ./swarm/
git checkout origin/swarm3
make
which is weird since |
It should probably be |
A few more files needed a modification to properly include the |
Perfect, compilation is now possible on my Raspberry. There are about 15 unit-tests failing, I will investigate to try to understand why. |
swarm 3 passes all tests on a Raspberry running Linux. |
Perhaps we should port Swarm to Linux on POWER8 and Windows on x86_64 as we have done for vsearch?
The text was updated successfully, but these errors were encountered: