qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/20] tcg/optimize: Track and use known 1's
@ 2025-05-05 20:27 Richard Henderson
  2025-05-05 20:27 ` [PATCH 01/20] tcg/optimize: Introduce arg_const_val Richard Henderson
                   ` (19 more replies)
  0 siblings, 20 replies; 30+ messages in thread
From: Richard Henderson @ 2025-05-05 20:27 UTC (permalink / raw)
  To: qemu-devel

We already track and use known 0's; do the same for 1's.
This actually simplifies some of the logical operations,
where before required checking for a constant value.


r~


Richard Henderson (20):
  tcg/optimize: Introduce arg_const_val
  tcg/optimize: Add one's mask to TempOptInfo
  tcg/optimize: Build and use o_bits in fold_and
  tcg/optimize: Build and use o_bits in fold_andc
  tcg/optimize: Build and use z_bits and o_bits in fold_eqv
  tcg/optimize: Build and use z_bits and o_bits in fold_nand
  tcg/optimize: Build and use z_bits and o_bits in fold_nor
  tcg/optimize: Build and use z_bits and o_bits in fold_not
  tcg/optimize: Build and use one and affected bits in fold_or
  tcg/optimize: Build and use zero, one and affected bits in fold_orc
  tcg/optimize: Build and use o_bits in fold_xor
  tcg/optimize: Build and use o_bits in fold_bswap
  tcg/optimize: Build and use o_bits in fold_deposit
  tcg/optimize: Build and use o_bits in fold_extract
  tcg/optimize: Build and use z_bits and o_bits in fold_extract2
  tcg/optimize: Build and use o_bits in fold_exts
  tcg/optimize: Build and use o_bits in fold_extu
  tcg/optimize: Build and use o_bits in fold_movcond
  tcg/optimize: Build and use o_bits in fold_sextract
  tcg/optimize: Build and use o_bits in fold_shift

 tcg/optimize.c | 359 +++++++++++++++++++++++++++++++------------------
 1 file changed, 226 insertions(+), 133 deletions(-)

-- 
2.43.0



^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2025-06-24 23:56 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-05 20:27 [PATCH 00/20] tcg/optimize: Track and use known 1's Richard Henderson
2025-05-05 20:27 ` [PATCH 01/20] tcg/optimize: Introduce arg_const_val Richard Henderson
2025-06-24 22:21   ` Pierrick Bouvier
2025-05-05 20:27 ` [PATCH 02/20] tcg/optimize: Add one's mask to TempOptInfo Richard Henderson
2025-05-06 11:05   ` Paolo Bonzini
2025-05-06 14:12     ` Richard Henderson
2025-06-24 22:38   ` Pierrick Bouvier
2025-05-05 20:27 ` [PATCH 03/20] tcg/optimize: Build and use o_bits in fold_and Richard Henderson
2025-06-24 22:42   ` Pierrick Bouvier
2025-05-05 20:27 ` [PATCH 04/20] tcg/optimize: Build and use o_bits in fold_andc Richard Henderson
2025-06-24 23:20   ` Pierrick Bouvier
2025-05-05 20:27 ` [PATCH 05/20] tcg/optimize: Build and use z_bits and o_bits in fold_eqv Richard Henderson
2025-06-24 23:55   ` Pierrick Bouvier
2025-05-05 20:27 ` [PATCH 06/20] tcg/optimize: Build and use z_bits and o_bits in fold_nand Richard Henderson
2025-05-05 20:27 ` [PATCH 07/20] tcg/optimize: Build and use z_bits and o_bits in fold_nor Richard Henderson
2025-05-05 20:27 ` [PATCH 08/20] tcg/optimize: Build and use z_bits and o_bits in fold_not Richard Henderson
2025-05-05 20:27 ` [PATCH 09/20] tcg/optimize: Build and use one and affected bits in fold_or Richard Henderson
2025-05-05 20:27 ` [PATCH 10/20] tcg/optimize: Build and use zero, one and affected bits in fold_orc Richard Henderson
2025-05-05 20:27 ` [PATCH 11/20] tcg/optimize: Build and use o_bits in fold_xor Richard Henderson
2025-05-05 20:27 ` [PATCH 12/20] tcg/optimize: Build and use o_bits in fold_bswap Richard Henderson
2025-05-05 20:27 ` [PATCH 13/20] tcg/optimize: Build and use o_bits in fold_deposit Richard Henderson
2025-05-05 20:27 ` [PATCH 14/20] tcg/optimize: Build and use o_bits in fold_extract Richard Henderson
2025-05-05 20:27 ` [PATCH 15/20] tcg/optimize: Build and use z_bits and o_bits in fold_extract2 Richard Henderson
2025-05-06 11:12   ` Paolo Bonzini
2025-05-06 14:15     ` Richard Henderson
2025-05-05 20:27 ` [PATCH 16/20] tcg/optimize: Build and use o_bits in fold_exts Richard Henderson
2025-05-05 20:27 ` [PATCH 17/20] tcg/optimize: Build and use o_bits in fold_extu Richard Henderson
2025-05-05 20:27 ` [PATCH 18/20] tcg/optimize: Build and use o_bits in fold_movcond Richard Henderson
2025-05-05 20:27 ` [PATCH 19/20] tcg/optimize: Build and use o_bits in fold_sextract Richard Henderson
2025-05-05 20:27 ` [PATCH 20/20] tcg/optimize: Build and use o_bits in fold_shift Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).