Skip to content

Conversation

@hanno-becker
Copy link
Contributor

Most assemblers seems to support .macro definitions/invocations with and without commas between parameters. Some, however, require a comma. In the code base, we mix the two styles on the codebase -- sometimes even in the same file.

This commit adjusts autogen to automatically adjust definitions and invocations of assembly macros to use comma-separated arguments.

@hanno-becker hanno-becker requested a review from a team as a code owner November 20, 2025 04:31
Copy link
Contributor

@mkannwischer mkannwischer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @hanno-becker. Somehow it contains the same things I remarked in pq-code-package/mlkem-native#1313.

@hanno-becker hanno-becker force-pushed the asm_macros branch 2 times, most recently from c7ca1da to fff13b0 Compare November 20, 2025 09:14
Most assemblers seems to support .macro definitions/invocations with and
without commas between parameters. Some, however, require a comma. In
the code base, we mix the two styles on the codebase -- sometimes even
in the same file.

This commit adjusts autogen to automatically adjust definitions and
invocations of assembly macros to use comma-separated arguments.

Signed-off-by: Hanno Becker <[email protected]>
@mkannwischer mkannwischer merged commit 674b8bc into main Nov 21, 2025
269 checks passed
@mkannwischer mkannwischer deleted the asm_macros branch November 21, 2025 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Port: autogen normalize_asm_macro_syntax from mlkem-native

3 participants