From ecc954cee5537d2b668ee6430c150ecdd2b8f6a1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20W=C3=BCrdig?= Date: Tue, 15 Aug 2006 16:15:19 +0000 Subject: [PATCH] fixed constraint for SubC --- ir/be/ia32/ia32_spec.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir/be/ia32/ia32_spec.pl b/ir/be/ia32/ia32_spec.pl index 2964ac328..4f30e0092 100644 --- a/ir/be/ia32/ia32_spec.pl +++ b/ir/be/ia32/ia32_spec.pl @@ -369,7 +369,7 @@ $comment_string = "/*"; "SubC" => { "comment" => "construct Sub with Carry: SubC(a, b) = a - b - carry", "cmp_attr" => " return ia32_compare_immop_attr(attr_a, attr_b);\n", - "reg_req" => { "in" => [ "gp", "gp", "gp", "gp", "none" ], "out" => [ "in_r3" ] }, + "reg_req" => { "in" => [ "gp", "gp", "gp", "gp", "none" ], "out" => [ "in_r3 !in_r4" ] }, "emit" => '. sbb %ia32_emit_binop /* SubC(%A3, %A4) -> %D1 */', "outs" => [ "res", "M" ], }, -- 2.20.1