-
Notifications
You must be signed in to change notification settings - Fork 86
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
using compiler builtins to realize basic operations (e.g. memcpy) #115
Conversation
I enable the nightly tests because rust-lang/rust#77610 is merged to the nightly compiler. |
bors try |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The file changes themselves look fine, but I am wondering if / how this changes the performance. Have you measured it?
According to rust-lang/compiler-builtins#339 the builtins are not (yet?) optimized, however there was a PR already merged for x86_64.
Do I promise better performance? :-) This is at least better than my implementation. I am separating the operations between user- and kernel space. This will be the next PR in RustyHermit and is more critical for the performance. |
bors r+ |
@jbreitbart Maybe rust-lang/compiler-builtins#365 is interesting for you. I try to support it in the next pull request. |
115: using compiler builtins to realize basic operations (e.g. memcpy) r=stlankes a=stlankes Co-authored-by: Stefan Lankes <slankes@eonerc.rwth-aachen.de>
No description provided.