Skip to content

__asm__ function #69

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

Merged
merged 6 commits into from
Jun 3, 2025
Merged

__asm__ function #69

merged 6 commits into from
Jun 3, 2025

Conversation

nullnominal
Copy link
Contributor

@nullnominal nullnominal commented Jun 1, 2025

Finished

@nullnominal nullnominal marked this pull request as ready for review June 2, 2025 18:13
@nevakrien
Copy link

This is a weird way to do inline asm it's basiy an FFI call here which is not ideal.

You probably want something with named input regs similar to what C gives you.

Although for a compiler that's this simple its probably fine

@nullnominal
Copy link
Contributor Author

This is a weird way to do inline asm it's basiy an FFI call here which is not ideal.

You probably want something with named input regs similar to what C gives you.

Although for a compiler that's this simple its probably fine

we plan for this to be one of the only FFI calls so everything else can be implemented in std/inline.

@rexim
Copy link
Member

rexim commented Jun 3, 2025

@nullnominal looks good to me! Thank you for your contribution!

@rexim rexim merged commit a733467 into tsoding:main Jun 3, 2025
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.

None yet

3 participants