tcg patch queue
The following changes since commit 56a3033abcfcf72a2f4f1376a605a0b1ad526b67:
Merge tag 'pull-request-2025-07-21' of https://gitlab.com/thuth/qemu into staging (2025-07-21 06:34:56 -0400)
are available in the Git repository at:
https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20250721
for you to fetch changes up to 2c047bdb77e8f636936edd9ac5000521c9580477:
tcg/optimize: Don't fold INDEX_op_and_vec to extract (2025-07-21 08:09:04 -0700)
----------------------------------------------------------------
tcg/optimize: Don't fold INDEX_op_and_vec to extract
----------------------------------------------------------------
Richard Henderson (1):
tcg/optimize: Don't fold INDEX_op_and_vec to extract
tcg/optimize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[PULL 1/1] tcg/optimize: Don't fold INDEX_op_and_vec to extract
There is no such thing as vector extract.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3036
--- tcg/optimize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tcg/optimize.c +1 -1
@@ -1454,7 +1454,7 @@ static bool fold_and(OptContext *ctx, TCGOp *op) a_mask = t1->z_mask & ~t2->o_mask;if (!fold_masks_zosa_int (ctx, op, z_mask, o_mask, s_mask, a_mask)) { -if (ti_is_const (t2)) { +if (op->opc == INDEX_op_and &&ti_is_const (t2)) {/* * Canonicalize on extract, if valid. This aids x86 with its * 2 operand MOVZBL and 2 operand AND, selecting the TCGOpcode
Signature · 1 line
2.43.0
Stefan Hajnoczi
AppliedApplied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/10.1 for any user-visible changes.