target/i386: make decoding entirely table based
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | target/i386: use cpu_cc_dst for CC_OP_POPCNTtarget/ target/ target/ +1 more | +5 | 1 reply | |
| 2/10 | target/i386: give CC_OP_POPCNT low bits corresponding to MO_TLtarget/ target/ | +12 | 1 reply | |
| 3/10 | target/i386: convert bit test instructions to new decodertarget/ target/ target/ +1 more | +181 | 1 reply | |
| 4/10 | target/i386: try not to force EFLAGS computation for CC_OP_ADOX/ADCXtarget/ | +4 | 1 reply | |
| 5/10 | target/i386: decode address before going back to translate.ctarget/ target/ target/ +1 more | +103 | 0 replies | |
| 6/10 | target/i386: convert CMPXCHG8B/CMPXCHG16B to new decodertarget/ target/ target/ +1 more | +124 | 1 reply | |
| 7/10 | target/i386: do not check PREFIX_LOCK in old-style decodertarget/ | +8 | 0 replies | |
| 8/10 | target/i386: list instructions still in translate.ctarget/ | +31 | 0 replies | |
| 9/10 | target/i386: assert that cc_op* and pc_save are preservedtarget/ | +3 | 0 replies | |
| 10/10 | target/i386: remove gen_ext_tltarget/ | +17 | 0 replies |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Richard Henderson |
|---|---|
| 1/10 | R-b |
| 2/10 | R-b |
| 3/10 | R-b |
| 4/10 | R-b |
| 5/10 | R-b |
| 6/10 | R-b |
| 7/10 | R-b |
| 8/10 | R-b |
| 9/10 | R-b |
| 10/10 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/10] target/i386: make decoding entirely table based
The trailing part of the previous series I sent; with fixes for BT/BTS/BTR/BTC, plus moving code generation of CMPXCHG8B/CMPXCHG16B to the new decoder. This way all LOCKable instructions are converted, and the patch "target/i386: do not check PREFIX_LOCK in old-style decoder" is correct.
Sneak in a couple cleanups for CC_OP_POPCNT. They don't really make the generated code any more efficient, but they simplify a bit the logic for the BT/BTS/BTR/BTC flags.
Supersedes: <[email protected]>
Paolo Bonzini (10):
target/i386: use cpu_cc_dst for CC_OP_POPCNT
target/i386: give CC_OP_POPCNT low bits corresponding to MO_TL target/i386: convert bit test instructions to new decoder target/i386: try not to force EFLAGS computation for CC_OP_ADOX/ADCX target/i386: decode address before going back to translate.c target/i386: convert CMPXCHG8B/CMPXCHG16B to new decoder target/i386: do not check PREFIX_LOCK in old-style decoder target/i386: list instructions still in translate.c target/i386: assert that cc_op* and pc_save are preserved target/i386: remove gen_ext_tl
target/i386/cpu.h | 13 +- target/i386/tcg/decode-new.h | 19 +- target/i386/tcg/cc_helper.c | 2 +- target/i386/tcg/translate.c | 492 ++++++------------------------- target/i386/tcg/decode-new.c.inc | 136 ++++++--- target/i386/tcg/emit.c.inc | 249 +++++++++++++++- 6 files changed, 467 insertions(+), 444 deletions(-)
Signature · 1 line
2.45.2