]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg/arm: Fix constraints for sub
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 2 Jan 2025 21:25:15 +0000 (13:25 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 28 Apr 2025 20:40:16 +0000 (13:40 -0700)
commita3b37bc6faafe5932739c997b2b34a8f6dd57bfd
treeecf2c191de55f56c2c1650d28314c45d071180c3
parent3a8c4e9e53c6f4aa7c590971950000b174e74fa1
tcg/arm: Fix constraints for sub

In 7536b82d288 we lost the rI constraint that allowed the use of
RSB to perform reg = imm - reg.  At the same time, drop support
for reg = reg - imm, which is now transformed generically to
addition, and need not be handled by the backend.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/arm/tcg-target-con-set.h
tcg/arm/tcg-target.c.inc