qemu/tcg
Richard Henderson 3ff7e44ef3 tcg: Expand fallback add2 with 32-bit operations
No need to expand to i64 to perform the add.
This is smaller on a loongarch64 host, e.g.

	bstrpick_d  r28, r27, 31, 0
	bstrpick_d  r29, r24, 31, 0
	add_d       r28, r28, r29
	addi_w      r29, r28, 0
	srai_d      r28, r28, 32
  ---
	add_w       r28, r27, r24
	sltu        r29, r28, r24

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2025-04-28 13:40:17 -07:00
..
aarch64 tcg: Convert extract2 to TCGOutOpExtract2 2025-04-28 13:40:17 -07:00
arm tcg: Convert extract2 to TCGOutOpExtract2 2025-04-28 13:40:17 -07:00
i386 tcg: Convert extract2 to TCGOutOpExtract2 2025-04-28 13:40:17 -07:00
loongarch64 tcg: Convert extract2 to TCGOutOpExtract2 2025-04-28 13:40:17 -07:00
mips tcg: Convert extract2 to TCGOutOpExtract2 2025-04-28 13:40:17 -07:00
ppc tcg: Convert extract2 to TCGOutOpExtract2 2025-04-28 13:40:17 -07:00
riscv tcg: Convert extract2 to TCGOutOpExtract2 2025-04-28 13:40:17 -07:00
s390x tcg: Convert extract2 to TCGOutOpExtract2 2025-04-28 13:40:17 -07:00
sparc64 tcg: Convert extract2 to TCGOutOpExtract2 2025-04-28 13:40:17 -07:00
tci tcg: Convert extract2 to TCGOutOpExtract2 2025-04-28 13:40:17 -07:00
debuginfo.c accel/tcg: Move perf and debuginfo support to tcg/ 2024-01-29 21:04:10 +10:00
meson.build meson: Introduce top-level libuser_ss and libsystem_ss 2025-04-23 14:08:29 -07:00
optimize.c tcg: Merge INDEX_op_extract2_{i32,i64} 2025-04-28 13:40:17 -07:00
perf.c accel/tcg: Move perf and debuginfo support to tcg/ 2024-01-29 21:04:10 +10:00
region.c tcg: Pass max_threads not max_cpus to tcg_init 2025-04-23 15:07:32 -07:00
tcg-common.c tcg: Constify tcg_op_defs 2025-01-16 20:57:16 -08:00
tcg-has.h tcg: Convert extract2 to TCGOutOpExtract2 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: Only include 'tcg-has.h' when necessary 2025-01-16 20:57:16 -08:00
tcg-op-ldst.c exec/cpu-all: remove this header 2025-04-23 15:04:57 -07: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: Expand fallback add2 with 32-bit operations 2025-04-28 13:40:17 -07:00
tcg.c tcg: Merge INDEX_op_extract2_{i32,i64} 2025-04-28 13:40:17 -07:00
tci.c tcg: Merge INDEX_op_deposit_{i32,i64} 2025-04-28 13:40:17 -07:00