Skip to content

tcg: out of range shift behavior

Richard Henderson qemu-devel 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 6 repliesIn review
  2. v13 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tcg: Use "unspecified behavior" for shiftstcg/README+13 -50 replies
2/4tcg: Mask shift quantities while foldingtcg/optimize.c+20 -151 reply
3/4tcg: Mask shift counts to avoid undefined behaviortci.c+10 -105 replies
4/4tcg: Fix out of range shift in deposit optimizationstcg/optimize.c+4 -60 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchPeter Maydell
1/4R-b
2/4R-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/4] tcg: out of range shift behavior

Changes v1-v2:
* Consistently use American spelling of behaviour
* Fix shifts use in the masking section of the optimizer as well
* New patch that fixes optimization of deposit.

Richard Henderson (4):
tcg: Use "unspecified behavior" for shifts
tcg: Mask shift quantities while folding
tcg: Mask shift counts to avoid undefined behavior
tcg: Fix out of range shift in deposit optimizations

 tcg/README     | 18 +++++++++++++-----
 tcg/optimize.c | 45 ++++++++++++++++++++++++---------------------
 tci.c          | 20 ++++++++++----------
 3 files changed, 47 insertions(+), 36 deletions(-)
Signature · 1 line
1.8.5.3