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

Cortex-M7: Fix pointwise_769_dilithium #131

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions examples/naive/armv7m/pointwise_769_dilithium.s
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ small_pointmul_asm_769:
ldr.w r9, [r2, #1*width]
ldr.w r5, [r1, #1*width]
ldr.w r4, [r1], #4*width
ldr.w r6, [r2], #2*width // @slothy:core=True
ldr.w r6, [r2], #2*width

smulwt r10, r6, r4
smlabt r10, r10, r12, r14
Expand All @@ -53,7 +53,7 @@ small_pointmul_asm_769:
pkhbt r5, r5, r10

str.w r5, [r0, #1*width]
str.w r4, [r0], #4*width
str.w r4, [r0], #2*width

smulwt r10, r9, r7
smlabt r10, r10, r12, r14
Expand All @@ -65,8 +65,8 @@ small_pointmul_asm_769:
smlabt r10, r10, r12, r14
pkhbt r8, r8, r10

str r8, [r0, #-1*width]
str r7, [r0, #-2*width]
str.w r8, [r0, #1*width]
str.w r7, [r0], #2*width

cmp.w r3, r2
bne.w _point_mul_16_loop
Expand Down
Loading
Loading