From: Christian Würdig Date: Thu, 31 Aug 2006 13:27:42 +0000 (+0000) Subject: fixed requirements for ShrD and ShlD X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=08139f66b29d4e6ed0cd34312236d733cc903a34;p=libfirm fixed requirements for ShrD and ShlD --- diff --git a/ir/be/ia32/ia32_spec.pl b/ir/be/ia32/ia32_spec.pl index 0abe5d3fd..0d32820d6 100644 --- a/ir/be/ia32/ia32_spec.pl +++ b/ir/be/ia32/ia32_spec.pl @@ -425,7 +425,7 @@ $comment_string = "/*"; "irn_flags" => "R", "comment" => "construct ShlD: ShlD(a, b, c) = a, b << count (shift left count bits from b into a)", "cmp_attr" => " return ia32_compare_immop_attr(attr_a, attr_b);\n", - "reg_req" => { "in" => [ "gp", "gp", "gp", "gp", "ecx", "none" ], "out" => [ "in_r3 !in_r5" ] }, + "reg_req" => { "in" => [ "gp", "gp", "gp", "gp", "ecx", "none" ], "out" => [ "!ecx in_r3 !in_r4" ] }, "emit" => ' if (get_ia32_immop_type(n) == ia32_ImmNone) { @@ -474,7 +474,7 @@ else { "irn_flags" => "R", "comment" => "construct ShrD: ShrD(a, b, c) = a, b >> count (shift rigth count bits from a into b)", "cmp_attr" => " return ia32_compare_immop_attr(attr_a, attr_b);\n", - "reg_req" => { "in" => [ "gp", "gp", "gp", "gp", "ecx", "none" ], "out" => [ "in_r3 !in_r5" ] }, + "reg_req" => { "in" => [ "gp", "gp", "gp", "gp", "ecx", "none" ], "out" => [ "!ecx in_r3 !in_r4" ] }, "emit" => ' if (get_ia32_immop_type(n) == ia32_ImmNone) {