tcg/i386 haswell improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | tcg: Add tcg_reg_alloc_newtcg/ tcg/ | +46 | 0 replies | |
| 2/6 | disas/i386: Fix disassembly of two-byte vex prefixesdisas/ | +1 | 0 replies | |
| 3/6 | disas/i386: Add disassembly of vex.0f38.f5disas/ | +12 | 0 replies | |
| 4/6 | disas/i386: Add disassembly of rorxdisas/ | +11 | 0 replies | |
| 5/6 | tcg/i386: Use pext for extracttcg/ tcg/ | +109 | 0 replies | |
| 6/6 | tcg/i386: Use pdep for deposittcg/ tcg/ | +70 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH for-2.11 0/6] tcg/i386 haswell improvements
We can implement extract and deposit fairly efficiently with the bmi2 pext and pdep instructions.
I did wonder about using bextr and tcg_reg_alloc_new to allocate the register required to hold the parameters. But pdep allows the mask to be stored in the constant pool, and there's the chance that the mask could be re-used, either by another extract or by a deposit.
I have not yet done any profiling on this yet.
r~
Richard Henderson (6):
tcg: Add tcg_reg_alloc_new
disas/i386: Fix disassembly of two-byte vex prefixes disas/i386: Add disassembly of vex.0f38.f5 disas/i386: Add disassembly of rorx tcg/i386: Use pext for extract
tcg/i386: Use pdep for deposit
tcg/i386/tcg-target.h | 10 ++- tcg/tcg.h | 1 + disas/i386.c | 29 ++++-- tcg/i386/tcg-target.inc.c | 223 +++++++++++++++++++++++++++++++++++----------- tcg/tcg.c | 58 +++++++++--- 5 files changed, 246 insertions(+), 75 deletions(-)
Signature · 1 line
2.13.3