cfallin edited PR #5460 from x64-select-spectre-guard-i128
to main
:
Fixes #5452.
<!--
Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->
cfallin edited PR #5460 from x64-select-spectre-guard-i128
to main
:
Fixes #5452.
Fixes #5453.On riscv64, there is apparently an autoconversion from
ValueRegs
to
Reg
that takes just the low register [0], and removing this conversion
causes 48 errors. As a result of this,select
with ani128
condition
was silently miscompiling, testing only the low 64 bits. We should
remove this autoconversion to ensure we aren't missing any other silent
truncations, but for now this PR just adds the explicitI128
logic for
select
/select_spectre_guard
.
cfallin submitted PR review.
cfallin created PR review comment:
Updated!
jameysharp submitted PR review.
jameysharp submitted PR review.
jameysharp created PR review comment:
If I'm not mistaken, I think you're fixing #5200 as well here.
jameysharp created PR review comment:
If I'm not mistaken, I think you're fixing #5199 as well here.
cfallin updated PR #5460 from x64-select-spectre-guard-i128
to main
.
cfallin edited PR #5460 from x64-select-spectre-guard-i128
to main
:
Fixes #5199.
Fixes #5200.
Fixes #5452.
Fixes #5453.On riscv64, there is apparently an autoconversion from
ValueRegs
to
Reg
that takes just the low register [0], and removing this conversion
causes 48 errors. As a result of this,select
with ani128
condition
was silently miscompiling, testing only the low 64 bits. We should
remove this autoconversion to ensure we aren't missing any other silent
truncations, but for now this PR just adds the explicitI128
logic for
select
/select_spectre_guard
.
cfallin submitted PR review.
cfallin created PR review comment:
Updated!
cfallin created PR review comment:
Updated description, thanks!
cfallin submitted PR review.
jameysharp submitted PR review.
cfallin merged PR #5460.
Last updated: Dec 23 2024 at 12:05 UTC