-
Notifications
You must be signed in to change notification settings - Fork 21
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
Compile Litl library on ARM architecture #5
Comments
Thats x86_64 inline assembly. This library is not really portable cross arch. Your going to have to at the very least replace all the inline assembly with the corresponding aarch64 code and probably fix a litany of bugs due missing memory barriers. Edit: If you do go about porting this to aarch64 can you ping back here with the fork? |
I have solved the above problems, compiled and generated .sh files, but reported errors during use |
The runtime errors are because the code is compiled down to a shared library and its expecting to find those symbols in the executable your running. You need to find where each of them is defined and re-define them with the corresponding aarch64 instructions. |
Thanks, the problem has been solved |
|
I see, any chance you can post the patches from master/HEAD or just push a fork without those two library and references to the versions? If not cest la vie. |
Would you please kindly share your _mm_mfence implement file? |
DLTcollab/sse2neon#554 (comment) problem sovled |
Hi @HugoGuiroux
I'm trying to compile Litl library on ARM architecture and replace #include <xmmintrin.h> header file with sse2neon
(sse2neon see https://github.com/DLTcollab/sse2neon/)
The error encountered in CLHT/include/atiomic_ops.h is as follows:
error: impossible constraint in ‘asm’ asm volatile("xchgb %0,%1"
How to solve the above problems to complete the compilation and operation of Litl on the ARM architecture.
Please let me know if you have a solution, thanks a lot.
The text was updated successfully, but these errors were encountered: