From: Michael Beck Date: Tue, 28 Mar 2006 17:10:50 +0000 (+0000) Subject: removed useless virtual instructions nd freed vf7 which can be used X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=9789a9121a6a6d604a73de85c38ce2d915b59eb7;p=libfirm removed useless virtual instructions nd freed vf7 which can be used --- diff --git a/ir/be/ia32/ia32_spec.pl b/ir/be/ia32/ia32_spec.pl index 833b220a1..ab814b4af 100644 --- a/ir/be/ia32/ia32_spec.pl +++ b/ir/be/ia32/ia32_spec.pl @@ -126,7 +126,7 @@ $additional_opcodes = 0; { "name" => "vf4", "type" => 1 }, { "name" => "vf5", "type" => 1 }, { "name" => "vf6", "type" => 1 }, - { "name" => "vf7", "type" => 4 }, + { "name" => "vf7", "type" => 1 }, { "name" => "vfp_NOREG", "type" => 6 }, # we need a dummy register for NoReg and Unknown nodes { "mode" => "mode_E" } ], @@ -679,25 +679,12 @@ $additional_opcodes = 0; "reg_req" => { "in" => [ "gp", "gp", "vfp", "vfp", "none" ], "out" => [ "vfp" ] }, }, -"vfsubr" => { - "irn_flags" => "R", - "comment" => "virtual fp SubR: SubR(a, b) = b - a", - "cmp_attr" => " return ia32_compare_immop_attr(attr_a, attr_b);\n", - "reg_req" => { "in" => [ "gp", "gp", "vfp", "vfp", "none" ], "out" => [ "vfp" ] }, -}, - "vfdiv" => { "comment" => "virtual fp Div: Div(a, b) = a / b", "cmp_attr" => " return ia32_compare_immop_attr(attr_a, attr_b);\n", "reg_req" => { "in" => [ "gp", "gp", "vfp", "vfp", "none" ], "out" => [ "vfp" ] }, }, -"vfdivr" => { - "comment" => "virtual fp DivR: DivR(a, b) = b / a", - "cmp_attr" => " return ia32_compare_immop_attr(attr_a, attr_b);\n", - "reg_req" => { "in" => [ "gp", "gp", "vfp", "vfp", "none" ], "out" => [ "vfp" ] }, -}, - "vfabs" => { "irn_flags" => "R", "comment" => "virtual fp Abs: Abs(a) = |a|",