Skip to content

target/i386: use TSTEQ/TSTNE in x86 frontend

Paolo Bonzini qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4target/i386: use TSTEQ/TSTNE to test low bitstarget/i386/tcg/emit.c.inc target/i386/tcg/translate.c+22 -111 reply
2/4target/i386: use TSTEQ/TSTNE to check flagstarget/i386/tcg/translate.c+16 -161 reply
3/4target/i386: remove mask from CCPreparetarget/i386/tcg/translate.c+27 -541 reply
4/4tcg/optimize: optimize TSTNE using smask and zmasktcg/optimize.c+8 -53 replies

Reviews trailers per patch

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

PatchRichard Henderson
1/4R-b
2/4R-b
3/4R-b
4/4

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

Read the v1 thread

Cover letter [PATCH 0/4] target/i386: use TSTEQ/TSTNE in x86 frontend

The TSTEQ/TSTNE operations can be useful to evaluate many conditionals. They can be used to test the sign bit or equality to zero of a partial register, as well as to check individual bits in EFLAGS.

Paolo

Based-on: <[email protected]>

Paolo Bonzini (4):
target/i386: use TSTEQ/TSTNE to test low bits target/i386: use TSTEQ/TSTNE to check flags target/i386: remove mask from CCPrepare tcg/optimize: optimize TSTNE using smask and zmask

 target/i386/tcg/translate.c | 115 ++++++++++++++++--------------------
 tcg/optimize.c              |  13 ++--
 target/i386/tcg/emit.c.inc  |   5 +-
 3 files changed, 60 insertions(+), 73 deletions(-)
Signature · 1 line
2.43.2