commit | 0ad6d64b7be6287f8c07c72f8462ef5635b1e2da | [log] [tgz] |
---|---|---|
author | Richard Henderson <richard.henderson@linaro.org> | Fri Jan 17 22:39:14 2025 -0800 |
committer | Richard Henderson <richard.henderson@linaro.org> | Mon Apr 28 13:40:17 2025 -0700 |
tree | 2a01f29fb37042c854a89cb20673458e61973659 | |
parent | e37e98b711975752d592e7b2daf11d320d0a8daf [diff] |
tcg/i386: Special case addci r, 0, 0 Using addci with two zeros as input in order to capture the value of the carry-in bit is common. Special case this with sbb+neg so that we do not have to load 0 into a register first. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>