Supercedes: [email protected]
[PATCH 0/3] tcg: Lower deposit/extract2 during optimize

Supercedes: [email protected]
[PATCH 0/2] tcg: improve instruction selection for extract and deposit_z

This is a merge of these two patch sets.  I'm not sure what
inputs you were looking at, Paolo?

>From random aarch64 guest binaries, and an x86_64 host, I still
see most benefit from the lowering during optimize.  It's not
lots, but every little bit helps, I guess.


r~


Paolo Bonzini (2):
  tcg: Add tcg_op_imm_match
  tcg: target-dependent lowering of extract to shr/and

Richard Henderson (4):
  tcg/optimize: Lower unsupported deposit during optimize
  tcg/optimize: Lower unsupported extract2 during optimize
  tcg: Expand missing rotri with extract2
  tcg/optimize: possibly expand deposit into zero with shifts

 tcg/tcg-internal.h |   5 +
 tcg/optimize.c     | 279 ++++++++++++++++++++++++++++++++++++++++-----
 tcg/tcg-op.c       | 210 ++++++++--------------------------
 tcg/tcg.c          |  21 +++-
 4 files changed, 322 insertions(+), 193 deletions(-)

-- 
2.43.0


Reply via email to