Skip to content

Commit

Permalink
Make a few more tiny tweaks to satisfy the delocator
Browse files Browse the repository at this point in the history
Changing #(I) to #(1*I) in the new macro blocks makes it happy,
and is semantically trivial.
  • Loading branch information
jargh committed Aug 23, 2024
1 parent 9aa8155 commit 4207da6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion arm/p256/p256_montjscalarmul.S
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
// which doesn't accept repetitions, assembler macros etc.

#define selectblock(I) \
cmp x14, #(I); \
cmp x14, #(1*I); \
ldp x12, x13, [x15]; \
csel x0, x12, x0, eq; \
csel x1, x13, x1, eq; \
Expand Down
2 changes: 1 addition & 1 deletion arm/p256/p256_montjscalarmul_alt.S
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
// which doesn't accept repetitions, assembler macros etc.

#define selectblock(I) \
cmp x14, #(I); \
cmp x14, #(1*I); \
ldp x12, x13, [x15]; \
csel x0, x12, x0, eq; \
csel x1, x13, x1, eq; \
Expand Down
2 changes: 1 addition & 1 deletion arm/p384/p384_montjscalarmul.S
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
// which doesn't accept repetitions, assembler macros etc.

#define selectblock(I) \
cmp bf, #(I); \
cmp bf, #(1*I); \
ldp x20, x21, [x19]; \
csel x0, x20, x0, eq; \
csel x1, x21, x1, eq; \
Expand Down
2 changes: 1 addition & 1 deletion arm/p384/p384_montjscalarmul_alt.S
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
// which doesn't accept repetitions, assembler macros etc.

#define selectblock(I) \
cmp bf, #(I); \
cmp bf, #(1*I); \
ldp x20, x21, [x19]; \
csel x0, x20, x0, eq; \
csel x1, x21, x1, eq; \
Expand Down

0 comments on commit 4207da6

Please sign in to comment.