Repository navigation
riscv64: Special-case f32const 0 and f64const 0 - #8701
Merged
alexcrichton merged 3 commits intoMay 30, 2024
Merged
alexcrichton merged 3 commits into
alexcrichton merged 3 commits into
Conversation
This commit is inspired by discussion on bytecodealliance#8695 which made me remember the discussion around bytecodealliance#7162 historically. In lieu of a deeper fix for the issue of "why can't `iconst 0` use `(zero_reg)`" it's still possible to add special-cases to rules throughout the backend so this commit does that for generating zero-value floats.
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
May 28, 2024
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
May 28, 2024
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
May 29, 2024
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
May 29, 2024
Member
Author
After 4 times in a row I'm going to deprovision myself for tonight. |
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
May 29, 2024
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
May 29, 2024
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
May 29, 2024
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
May 29, 2024
prtest:full
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
May 29, 2024
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
May 30, 2024
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
May 30, 2024
alexcrichton
added a commit
to alexcrichton/wasmtime
that referenced
this pull request
May 31, 2024
This commit is similar to bytecodealliance#8701 in that it adds a special case to `store` operations to use the `zero` register when applicable.
alexcrichton
added a commit
to alexcrichton/wasmtime
that referenced
this pull request
May 31, 2024
This commit is similar to bytecodealliance#8701 in that it adds a special case to `store` operations to use the `zero` register when applicable.
github-merge-queue Bot
pushed a commit
that referenced
this pull request
May 31, 2024
* riscv64: Optimize storing zero to memory by using `zero_reg` This commit is similar to #8701 in that it adds a special case to `store` operations to use the `zero` register when applicable. * Fix lowerings of `istore{8,16,32}` * Add test for compressed stores
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.
This commit is inspired by discussion on #8695 which made me remember the discussion around #7162 historically. In lieu of a deeper fix for the issue of "why can't
iconst 0use(zero_reg)" it's still possible to add special-cases to rules throughout the backend so this commit does that for generating zero-value floats.