Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: c1fa1b30ec5da0659cf071481f19ed64c964ea6b
https://github.com/qemu/qemu/commit/c1fa1b30ec5da0659cf071481f19ed64c964ea6b
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Introduce arg_const_val
Use arg_const_val instead of direct access to the TempOptInfo val
member. Rename both val and is_const to catch all direct accesses.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: 56f15f67ea116e96ea986a7cca9214f76af71433
https://github.com/qemu/qemu/commit/56f15f67ea116e96ea986a7cca9214f76af71433
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Add one's mask to TempOptInfo
Add o_mask mirroring z_mask, but for 1's instead of 0's.
Drop is_const and val fields, which now logically overlap.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: 9e397cc0df9c642381e60f97ce37eafe5a2582b3
https://github.com/qemu/qemu/commit/9e397cc0df9c642381e60f97ce37eafe5a2582b3
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Introduce fold_masks_zosa
Add a new function with an affected mask. This will allow
folding to a constant to happen before folding to a copy,
without having to mind the ordering in all users.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: 1e2edf85cc4755c844f9c98cbe52ac63d7d1fb18
https://github.com/qemu/qemu/commit/1e2edf85cc4755c844f9c98cbe52ac63d7d1fb18
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Build and use o_bits in fold_and
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: d4d441e3a1c9f485a27662890ec7c009a056fda8
https://github.com/qemu/qemu/commit/d4d441e3a1c9f485a27662890ec7c009a056fda8
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Build and use o_bits in fold_andc
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: 33fcebadd04ab420a485f864bda651b8b360472d
https://github.com/qemu/qemu/commit/33fcebadd04ab420a485f864bda651b8b360472d
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Build and use z_bits and o_bits in fold_eqv
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: 16559c3ecbacab16d471a4a6f5a35f14325c3fe4
https://github.com/qemu/qemu/commit/16559c3ecbacab16d471a4a6f5a35f14325c3fe4
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Build and use z_bits and o_bits in fold_nand
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: 682d6d57baf43c8f7273c328efa3402943bd557f
https://github.com/qemu/qemu/commit/682d6d57baf43c8f7273c328efa3402943bd557f
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Build and use z_bits and o_bits in fold_nor
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: d89504b0477df0ac6ff969b79065d9494cb0e6be
https://github.com/qemu/qemu/commit/d89504b0477df0ac6ff969b79065d9494cb0e6be
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Build and use z_bits and o_bits in fold_not
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: 84b399df9abea985089d46fd94da559d83d0e085
https://github.com/qemu/qemu/commit/84b399df9abea985089d46fd94da559d83d0e085
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Build and use one and affected bits in fold_or
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: cc4033ee47c39ca5668ca0ab9b23046cf029fc21
https://github.com/qemu/qemu/commit/cc4033ee47c39ca5668ca0ab9b23046cf029fc21
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Build and use zero, one and affected bits in fold_orc
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: 787190e3f433022d6fd2983f5e5efdb848439a41
https://github.com/qemu/qemu/commit/787190e3f433022d6fd2983f5e5efdb848439a41
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Build and use o_bits in fold_xor
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: e6e3733bf19eacec7bcaf6343619237f84ff840a
https://github.com/qemu/qemu/commit/e6e3733bf19eacec7bcaf6343619237f84ff840a
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Build and use o_bits in fold_bswap
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: 9d80b3c89022279865220c23a1246a4e12786f27
https://github.com/qemu/qemu/commit/9d80b3c89022279865220c23a1246a4e12786f27
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Build and use o_bits in fold_deposit
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: fcde7363d33744d14dc7e844752b53c4aa1d69ba
https://github.com/qemu/qemu/commit/fcde7363d33744d14dc7e844752b53c4aa1d69ba
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Build and use o_bits in fold_extract
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: 83c47c30278b130cade31c5e0dbbc08ac6258bad
https://github.com/qemu/qemu/commit/83c47c30278b130cade31c5e0dbbc08ac6258bad
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Build and use z_bits and o_bits in fold_extract2
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: de85257f14a5b16edb754190e850de1e916ac37c
https://github.com/qemu/qemu/commit/de85257f14a5b16edb754190e850de1e916ac37c
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Build and use o_bits in fold_exts
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: f78342472fb4de10aa78e5cb5e2f502700d5a728
https://github.com/qemu/qemu/commit/f78342472fb4de10aa78e5cb5e2f502700d5a728
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Build and use o_bits in fold_extu
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: 08d676a46b55a717447babab304a475e62b233ac
https://github.com/qemu/qemu/commit/08d676a46b55a717447babab304a475e62b233ac
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Build and use o_bits in fold_movcond
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: f4a818a08d86ba1fddc21391d9f9115ebef794db
https://github.com/qemu/qemu/commit/f4a818a08d86ba1fddc21391d9f9115ebef794db
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Build and use o_bits in fold_sextract
This was the last use of fold_affected_mask,
now fully replaced by fold_masks_zosa.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: 03329e3ce4609d9d63f8786294eb724289f9b596
https://github.com/qemu/qemu/commit/03329e3ce4609d9d63f8786294eb724289f9b596
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Build and use o_bits in fold_shift
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: e532a39352878c506966a0e4e19ee938fca194ec
https://github.com/qemu/qemu/commit/e532a39352878c506966a0e4e19ee938fca194ec
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Use fold_and in do_constant_folding_cond[12]
When lowering tst comparisons, completely fold the and
opcode that we generate.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: 932522a9ddc1f7c7866009cd73eaf79452951b81
https://github.com/qemu/qemu/commit/932522a9ddc1f7c7866009cd73eaf79452951b81
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Fold and to extract during optimize
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: 9ffa5420e927c327412c9e4ef113ad2f1a564aec
https://github.com/qemu/qemu/commit/9ffa5420e927c327412c9e4ef113ad2f1a564aec
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Simplify fold_and constant checks
If operand 2 is constant, then the computation of z_mask
and a_mask will produce the same results as the explicit
checks via fold_xi_to_i and fold_xi_to_x. Shift the call
of fold_xx_to_x down below the ti_is_const(t2) check.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: 3c75cb4d64811cfba2c03d66328d838cc72f8355
https://github.com/qemu/qemu/commit/3c75cb4d64811cfba2c03d66328d838cc72f8355
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Simplify fold_andc constant checks
If operand 2 is constant, then the computation of z_mask and a_mask
will produce the same results as the explicit check via fold_xi_to_i.
Shift the calls of fold_xx_to_i and fold_ix_to_not down below the
i2->is_const check.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: 61617f715ec26877cdda9e027ac43945910f4fe9
https://github.com/qemu/qemu/commit/61617f715ec26877cdda9e027ac43945910f4fe9
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Simplify fold_orc constant checks
If operand 2 is constant, then the computation of z_mask and a_mask
will produce the same results as the explicit check via fold_xi_to_i.
Shift the calls of fold_xx_to_i and fold_ix_to_not down below the
i2->is_const check.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: 7630de24bace80ec031c52e478605692f79ac08b
https://github.com/qemu/qemu/commit/7630de24bace80ec031c52e478605692f79ac08b
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/optimize.c
Log Message:
-----------
tcg/optimize: Simplify fold_eqv constant checks
Both cases are handled by fold_xor after conversion.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: 169d253e1f25cc4adff6571e249222e422a4b07e
https://github.com/qemu/qemu/commit/169d253e1f25cc4adff6571e249222e422a4b07e
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/riscv/tcg-target.c.inc
Log Message:
-----------
tcg/riscv: Fix typo in tgen_extract
Fix the direction of the shift, introduced when converting
the codebase to TCGOutOp* and small tgen_* helpers.
Fixes: 5a4d034f3cb ("tcg: Convert extract to TCGOutOpExtract")
Reported-by: Andrea Bolognani <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Tested-by: Andrea Bolognani <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 0d0fc3f4658937fb81fcc16a89738e83bd8d4795
https://github.com/qemu/qemu/commit/0d0fc3f4658937fb81fcc16a89738e83bd8d4795
Author: Richard Henderson <[email protected]>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M tcg/tcg.c
Log Message:
-----------
tcg: Fix constant propagation in tcg_reg_alloc_dup
The scalar constant must be replicated for dup.
Cc: [email protected]
Fixes: bab1671f0fa ("tcg: Manually expand INDEX_op_dup_vec")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3002
Signed-off-by: Richard Henderson <[email protected]>
Commit: 6138e72b7e33e0240ee955a2754dd038ee99494d
https://github.com/qemu/qemu/commit/6138e72b7e33e0240ee955a2754dd038ee99494d
Author: Stefan Hajnoczi <[email protected]>
Date: 2025-07-01 (Tue, 01 Jul 2025)
Changed paths:
M tcg/optimize.c
M tcg/riscv/tcg-target.c.inc
M tcg/tcg.c
Log Message:
-----------
Merge tag 'pull-tcg-20250630' of https://gitlab.com/rth7680/qemu into staging
tcg/optimize: Build and use one's mask in logical operations
tcg/optimize: Use fold_and in do_constant_folding_cond[12]
tcg/optimize: Fold and to extract during optimize
tcg/optimize: Simplify some fold constant checks
tcg/riscv: Fix typo in tgen_extract
tcg: Fix constant propagation in tcg_reg_alloc_dup
# -----BEGIN PGP SIGNATURE-----
#
# iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmhirQYdHHJpY2hhcmQu
# aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV9uvAgArBOTndFCLuPAubS/
# 3wg4L1TivXm/uEkZeNUSZ/x9i0eDE9/tDb5iRTH4vVkySndCgIQHbahrgNV349iM
# hny7pONlZxpNyfbEsvfsgY1wdy5vdHD+EpCV4ycO579DEHwZM0Q/CfXKQjbMP2oq
# 95zXgoIO5aCqTFZ8Eqa3WpiRvCQe9yHFMNBfm5btsmtyKHAvB+vSYwQskngwVYCJ
# 5KWpzOVwBOgXZ7wRBAojOODizw7z9C32uTT5D1o0fxuuOUdtiU7rQbLgiomno/FM
# BFz4cLY5+EehJSmXRbw7XbgsL5cICFSgTsFlnH9D8iqSnJFk//JMRQTUsHH42BGM
# Sa9sWg==
# =DuOD
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 30 Jun 2025 11:28:06 EDT
# gpg: using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg: issuer "[email protected]"
# gpg: Good signature from "Richard Henderson <[email protected]>"
[full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A 05C0 64DF 38E8 AF7E 215F
* tag 'pull-tcg-20250630' of https://gitlab.com/rth7680/qemu: (29 commits)
tcg: Fix constant propagation in tcg_reg_alloc_dup
tcg/riscv: Fix typo in tgen_extract
tcg/optimize: Simplify fold_eqv constant checks
tcg/optimize: Simplify fold_orc constant checks
tcg/optimize: Simplify fold_andc constant checks
tcg/optimize: Simplify fold_and constant checks
tcg/optimize: Fold and to extract during optimize
tcg/optimize: Use fold_and in do_constant_folding_cond[12]
tcg/optimize: Build and use o_bits in fold_shift
tcg/optimize: Build and use o_bits in fold_sextract
tcg/optimize: Build and use o_bits in fold_movcond
tcg/optimize: Build and use o_bits in fold_extu
tcg/optimize: Build and use o_bits in fold_exts
tcg/optimize: Build and use z_bits and o_bits in fold_extract2
tcg/optimize: Build and use o_bits in fold_extract
tcg/optimize: Build and use o_bits in fold_deposit
tcg/optimize: Build and use o_bits in fold_bswap
tcg/optimize: Build and use o_bits in fold_xor
tcg/optimize: Build and use zero, one and affected bits in fold_orc
tcg/optimize: Build and use one and affected bits in fold_or
...
Signed-off-by: Stefan Hajnoczi <[email protected]>
Compare: https://github.com/qemu/qemu/compare/aec6836c7340...6138e72b7e33
To unsubscribe from these emails, change your notification settings at
https://github.com/qemu/qemu/settings/notifications