Skip to content
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

Add hardcoded flint_mpn_aors_n for ARM and x86 #2118

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
fixup
  • Loading branch information
Albin Ahlbäck committed Dec 2, 2024
commit e63d4f7e7445335a00b03fe086d94d0853ce81a8
5 changes: 2 additions & 3 deletions src/mpn_extras/x86_64/broadwell/aorsrsh_hard.asm
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,10 @@ dnl u -= s C sbb
dnl rp[i] = u C mov
dnl fi

dnl Non-optimized. We probably should optimize add and sub differently. We
dnl probably need to use more registers to interleave more.
dnl Non-optimized version.
ifdef(blablablabla,`
ALIGN(16)
PROLOGUE(flint_mpn_addrsh_5)
PROLOGUE(flint_mpn_aorsrsh_5)
xor R32(tnc), R32(tnc)
sub cnt, tnc
xor R32(sx), R32(sx)
Expand Down