-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Perf: Assembly code generator for ARM and ARM64 #200
Comments
Relevant:
|
https://eprint.iacr.org/2021/185.pdf is particularly interesting regarding general ARM CPUs and Apple CPUs: Multiplications are 3x slower than addition on Rpi4 but have sensibly the same speed on Apple CPUs. |
#69 introduced an assembly ode generator for x86 and x86-64
at https://github.com/mratsim/constantine/blob/7d29cb9/constantine/platforms/isa/macro_assembler_x86.nim
We need the same for ARM for efficiency on Raspberry Pi, Phones, Apple Silicon and other resource-restricted devices.
Efficient multiplication on ARM:
paper 1: https://orbilu.uni.lu/bitstream/10993/34104/1/ARMv8_KJ_zhe.pdf
paper 2: https://core.ac.uk/download/pdf/275655534.pdf
Multiprecision Multiplication on ARMv8
Related papers:
https://eprint.iacr.org/2021/185.pdf
The text was updated successfully, but these errors were encountered: