qemu-cr16/tcg
Richard Henderson b276b2ca22 tcg/optimize: Fix a_mask computation for orc
In computing a_mask, for or, we remove the bits from t1->o_mask
which are known to be zero.  For orc, the bits known to be zero
are the inverse of those known to be one.

Cc: qemu-stable@nongnu.org
Fixes: cc4033ee47 ("tcg/optimize: Build and use zero, one and affected bits in fold_orc")
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit 08b12bfb8f532dbc62e35c31d081ede1aa12098b)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2026-01-13 00:30:37 +03:00
..
aarch64 include/hw/core/cpu: Introduce cpu_tlb_fast 2025-09-23 16:55:28 -07:00
arm include/hw/core/cpu: Introduce cpu_tlb_fast 2025-09-23 16:55:28 -07:00
i386 tcg/i386: Use vgf2p8affineqb for MO_8 vector shifts 2025-09-04 09:49:30 +02:00
loongarch64 tcg: Drop TCGContext.page_{mask,bits} 2025-05-28 08:08:47 +01:00
mips tcg/mips: Remove ALIAS_PADD, ALIAS_PADDI 2025-10-16 14:58:36 -07:00
ppc tcg/ppc: Remove support for 32-bit hosts 2025-10-19 11:24:34 -07:00
riscv tcg/riscv: Fix typo in tgen_extract 2025-06-30 07:42:38 -06:00
s390x tcg: Drop TCGContext.page_{mask,bits} 2025-05-28 08:08:47 +01:00
sparc64 tcg: Drop TCGContext.page_{mask,bits} 2025-05-28 08:08:47 +01:00
tci tcg/tci: Introduce INDEX_op_tci_qemu_{ld,st}_rrr 2025-12-05 07:50:15 -06:00
debuginfo.c accel/tcg: Move perf and debuginfo support to tcg/ 2024-01-29 21:04:10 +10:00
meson.build meson: remove lib{system, user}_ss aliases 2025-05-26 17:31:06 +02:00
optimize.c tcg/optimize: Fix a_mask computation for orc 2026-01-13 00:30:37 +03:00
perf.c tcg: Drop TCGContext.page_{mask,bits} 2025-05-28 08:08:47 +01:00
region.c tcg: Fix error reporting on mprotect() failure in tcg_region_init() 2025-09-30 14:43:53 +02:00
tcg-common.c tcg: Constify tcg_op_defs 2025-01-16 20:57:16 -08:00
tcg-has.h tcg: Remove add2/sub2 opcodes 2025-04-28 13:40:17 -07:00
tcg-internal.h tcg: Add TCGType to tcg_op_insert_{after,before} 2025-04-28 13:40:15 -07:00
tcg-op-gvec.c tcg: Split out tcg_gen_gvec_dup_imm_var 2025-06-23 11:44:28 -07:00
tcg-op-ldst.c tcg: Remove duplicate test from plugin_gen_mem_callbacks 2025-12-05 07:50:15 -06:00
tcg-op-vec.c tcg: Only include 'tcg-has.h' when necessary 2025-01-16 20:57:16 -08:00
tcg-op.c tcg: Simplify extract2 usage in tcg_gen_shifti_i64 2025-10-31 12:49:46 +01:00
tcg.c accel/tcg: Introduce and use MO_ALIGN_TLB_ONLY 2025-10-31 12:49:46 +01:00
tci.c tcg/tci: Introduce INDEX_op_tci_qemu_{ld,st}_rrr 2025-12-05 07:50:15 -06:00