summary refs log tree commit diff stats
path: root/tcg/optimize.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-01-02 13:25:15 -0800
committerRichard Henderson <richard.henderson@linaro.org>2025-04-28 13:40:16 -0700
commita3b37bc6faafe5932739c997b2b34a8f6dd57bfd (patch)
treeecf2c191de55f56c2c1650d28314c45d071180c3 /tcg/optimize.c
parent3a8c4e9e53c6f4aa7c590971950000b174e74fa1 (diff)
downloadfocaccia-qemu-a3b37bc6faafe5932739c997b2b34a8f6dd57bfd.tar.gz
focaccia-qemu-a3b37bc6faafe5932739c997b2b34a8f6dd57bfd.zip
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>
Diffstat (limited to 'tcg/optimize.c')
0 files changed, 0 insertions, 0 deletions