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-06 21:57:43 -0800
committerRichard Henderson <richard.henderson@linaro.org>2025-04-28 13:40:16 -0700
commit3f057e24006fbc5eaf42278ba9368d383a1c7bed (patch)
tree42adacb15304cb236799b349de65b0475226241f /tcg/optimize.c
parenta3b37bc6faafe5932739c997b2b34a8f6dd57bfd (diff)
downloadfocaccia-qemu-3f057e24006fbc5eaf42278ba9368d383a1c7bed.tar.gz
focaccia-qemu-3f057e24006fbc5eaf42278ba9368d383a1c7bed.zip
tcg: Convert sub to TCGOutOpSubtract
Create a special subclass for sub, because two backends can
support "subtract from immediate".  Drop all backend support
for an immediate as the second operand, as we transform sub
to add during optimize.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/optimize.c')
0 files changed, 0 insertions, 0 deletions