]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg: Add add/sub with carry opcodes and infrastructure
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 14 Jan 2025 21:58:39 +0000 (13:58 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 28 Apr 2025 20:40:17 +0000 (13:40 -0700)
commit76f42780292c16a0d2f36cbbfbaf57495cd4d5e8
tree9fd19c976d38ce664cf8a61deae0dc1379848e91
parent3e3689df4e05eb76b64a9e45247d87f9dad03177
tcg: Add add/sub with carry opcodes and infrastructure

Liveness needs to track carry-live state in order to
determine if the (hidden) output of the opcode is used.
Code generation needs to track carry-live state in order
to avoid clobbering cpu flags when loading constants.

So far, output routines and backends are unchanged.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
docs/devel/tcg-ops.rst
include/tcg/tcg-opc.h
include/tcg/tcg.h
tcg/optimize.c
tcg/tcg.c