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

using compiler builtins to realize basic operations (e.g. memcpy) #115

Merged
merged 8 commits into from
Oct 27, 2020

Conversation

stlankes
Copy link
Contributor

No description provided.

@stlankes
Copy link
Contributor Author

I enable the nightly tests because rust-lang/rust#77610 is merged to the nightly compiler.

@stlankes
Copy link
Contributor Author

bors try

bors bot added a commit that referenced this pull request Oct 27, 2020
Copy link
Contributor

@jbreitbart jbreitbart left a 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.

@stlankes
Copy link
Contributor Author

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.

@stlankes
Copy link
Contributor Author

bors r+

@bors bors bot merged commit 62b024a into hermit-os:master Oct 27, 2020
@stlankes
Copy link
Contributor Author

@jbreitbart Maybe rust-lang/compiler-builtins#365 is interesting for you. I try to support it in the next pull request.

simonschoening pushed a commit to simonschoening/libhermit-rs that referenced this pull request Aug 26, 2021
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>
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.

2 participants