Repository navigation
using compiler builtins to realize basic operations (e.g. memcpy) - #115
Merged
Merged
Conversation
Contributor
Author
|
I enable the nightly tests because rust-lang/rust#77610 is merged to the nightly compiler. |
Contributor
Author
|
bors try |
Contributor
jbreitbart
reviewed
Oct 27, 2020
Contributor
There was a problem hiding this comment.
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.
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. |
Contributor
Author
|
bors r+ |
Contributor
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>
artyomevgrafov
pushed a commit
to artyomevgrafov/kernel
that referenced
this pull request
Nov 19, 2026
115: Bump x86 from 0.48.0 to 0.49.0 r=mkroening a=dependabot[bot] Bumps [x86](https://github.com/gz/rust-x86) from 0.48.0 to 0.49.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/gz/rust-x86/blob/master/CHANGELOG.md">x86's changelog</a>.</em></p> <blockquote> <h2>[0.49.0] - 2022-06-03</h2> <ul> <li>Removed <code>x86::its64::segmentation::fs_deref()</code>: Users should replace calls to <code>fs_deref</code> with the more general <code>x86::bits64::segmentation::fs_deref!</code> macro. <code>fs_deref!(0)</code> is equivalent to <code>fs_deref()</code>.</li> <li>Removed <code>x86::bits64::segmentation::gs_deref()</code>: Users should replace calls to <code>gs_deref</code> with the more general <code>x86::bits64::segmentation::gs_deref!</code> macro. <code>fs_deref!(0)</code> is equivalent to <code>fs_deref()</code>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/gz/rust-x86/commit/d8cbc9e028bb90f86814bae82275e81104e9d167"><code>d8cbc9e</code></a> Macros for fs/gs deref.</li> <li>See full diff in <a href="https://github.com/gz/rust-x86/compare/0.48.0...0.49.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting ``@dependabot` rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - ``@dependabot` rebase` will rebase this PR - ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it - ``@dependabot` merge` will merge this PR after your CI passes on it - ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it - ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging - ``@dependabot` reopen` will reopen this PR if it is closed - ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> 116: Bump goblin from 0.5.1 to 0.5.2 r=mkroening a=dependabot[bot] Bumps [goblin](https://github.com/m4b/goblin) from 0.5.1 to 0.5.2. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/m4b/goblin/blob/master/CHANGELOG.md">goblin's changelog</a>.</em></p> <blockquote> <h2>[0.5.2] - 2022-6-5</h2> <h3>Fixed</h3> <p>elf: fix arithmetic overflows in <code>file_range()</code> and <code>vm_range()</code>, thanks <a href="https://github.com/alessandron"><code>`@alessandron</code></a>:` <a href="https://github-redirect.dependabot.com/m4b/goblin/pull/306">m4b/goblin#306</a> pe: fix string table containing empty strings, thanks <a href="https://github.com/track-5"><code>`@track-5</code></a>:` <a href="https://github-redirect.dependabot.com/m4b/goblin/pull/310">m4b/goblin#310</a> pe: remove check on debug directory size, thanks <a href="https://github.com/lzybkr"><code>`@lzybkr</code></a>:` <a href="https://github-redirect.dependabot.com/m4b/goblin/pull/313">m4b/goblin#313</a></p> <h3>Added</h3> <p>elf: expose more of programheader impl regardless of alloc feature flag, thanks <a href="https://github.com/dancrossnyc"><code>`@dancrossnyc</code></a>:` <a href="https://github-redirect.dependabot.com/m4b/goblin/pull/308">m4b/goblin#308</a> mach.parse: Handle DyldExportsTrie, thanks <a href="https://github.com/apalm"><code>`@apalm</code></a>:` <a href="https://github-redirect.dependabot.com/m4b/goblin/pull/303">m4b/goblin#303</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/m4b/goblin/commits/0.5.2">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting ``@dependabot` rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - ``@dependabot` rebase` will rebase this PR - ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it - ``@dependabot` merge` will merge this PR after your CI passes on it - ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it - ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging - ``@dependabot` reopen` will reopen this PR if it is closed - ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.