]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg/optimize: Handle add/sub with carry opcodes
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 15 Jan 2025 02:28:15 +0000 (18:28 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 28 Apr 2025 20:40:17 +0000 (13:40 -0700)
commitaeb3514bd06b278dd026c90e8f71ca5b32762ab9
tree2b52719af3e9a3dc4519ba28a6c4760618ac1a81
parentee60315210058c9b3d0869b2046eeb254ba33f3a
tcg/optimize: Handle add/sub with carry opcodes

Propagate known carry when possible, and simplify the opcodes
to not require carry-in when known.  The result will be cleaned
up further by the subsequent liveness analysis pass.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/optimize.c