Closed darmac closed 3 years ago
Hello,
can you please provide me a link for the sse2neon.h
file? I'll have a look and see if a port is possible.
Best regards, Robert
Hi, the link is here: https://github.com/DLTcollab/sse2neon/blob/master/sse2neon.h
But it can't cover all of the instructions(we used an old version, and not sure for the latest version) So we added some more instructions in our version. If you need that, we can try mail the header file to you.
If you need any support from us, please let me know, thanks a lot.
As it seems, all the sse4.1 instructions that spoa needs are included in the above header. I'll think of a way to add a separate arm build.
Got it, thanks for your help.
I solved it by editing this file . /project/software/racon/racon-v1.4.13/vendor/spoa/CMakeLists.txt if (spoa_optimize_for_portability) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=armv8-a") elseif (spoa_optimize_for_native) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=nativa ) endif()
also edit this file
copy sse2neon.h to thie dir of simd_alignment_engine.cpp where is
edit simd_alignment_engine.cpp
// #include
it works fine
I found that compile racon will fail in ARM64 platform:
Run command as follow:
Error log as follow:
I think the reason is there are some difference with x86 arch and aarch64 arch. If I replace the simd_alignment_engine.cpp header file from
to
then, it can work well.
Do racon community has any plan to support aarch64 arch now?