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

Move to new inline asm syntax #586

Open
roblabla opened this issue May 30, 2020 · 0 comments
Open

Move to new inline asm syntax #586

roblabla opened this issue May 30, 2020 · 0 comments
Labels
project-kernel Related to the kernel project-libuser Related to the libuser type-refactoring Cleanup and refactoring tasks

Comments

@roblabla
Copy link
Member

We should move to the new inline asm syntax instead of using llvm_asm, as it has a clear path to stabilization and is, in general, a lot less buggy.

Doing so will also make a lot of our code less UB "by default", as rust's inline asm defaults to making the code paranoid (e.g. it defaults to volatile, memory, etc... and has flag to disable them, instead of llvm_asm where by default the compiler assumes it can do a lot of opts that you have to manually disable).

@roblabla roblabla added project-kernel Related to the kernel project-libuser Related to the libuser type-refactoring Cleanup and refactoring tasks labels May 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project-kernel Related to the kernel project-libuser Related to the libuser type-refactoring Cleanup and refactoring tasks
Projects
None yet
Development

No branches or pull requests

1 participant