Skip to content

Conversation

@hanno-becker
Copy link
Contributor

This commit extends scripts/simpasm to support the emission of x86_64 assembly in Intel syntax via --x86-64-syntax intel.

The CI is extended to exercise this on an x86_64 runner and run the full tests afterwards.

This can be useful for consuming libraries wishing to use a different syntax than what mlkem-native uses. A similar approach may be usable in the future to add assembly suitable for the Windows assembler.

This commit extends scripts/simpasm to support the emission of
x86_64 assembly in Intel syntax via --x86-64-syntax intel.

The CI is extended to exercise this on an x86_64 runner
and run the full tests afterwards.

This can be useful for consuming libraries wishing to use
a different syntax than what mlkem-native uses. A similar
approach may be usable in the future to add assembly suitable
for the Windows assembler.

Signed-off-by: Hanno Becker <[email protected]>
@hanno-becker hanno-becker marked this pull request as ready for review November 4, 2025 13:15
@hanno-becker hanno-becker requested a review from a team as a code owner November 4, 2025 13:15
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.

Nice, thanks @hanno-becker! Tested on my x86 machine - works like a charm!

@mkannwischer mkannwischer merged commit dfa73e7 into main Nov 5, 2025
389 checks passed
@mkannwischer mkannwischer deleted the intel_syntax branch November 5, 2025 03:17
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.

3 participants