From: Michael Beck Date: Sat, 18 Mar 2006 12:15:10 +0000 (+0000) Subject: added TestJmp for test, r, r, jcc combination X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=323b2a38967c0ee97f0d17b92b7b36455ddf2ed9;p=libfirm added TestJmp for test, r, r, jcc combination --- diff --git a/ir/be/ia32/ia32_spec.pl b/ir/be/ia32/ia32_spec.pl index 8e242b047..555daab78 100644 --- a/ir/be/ia32/ia32_spec.pl +++ b/ir/be/ia32/ia32_spec.pl @@ -345,6 +345,14 @@ $comment_string = ';'; "reg_req" => { "in" => [ "gp", "gp", "gp", "gp", "none" ], "out" => [ "none", "none" ] }, }, +"TestJmp" => { + "op_flags" => "L|X|Y", + "comment" => "construct conditional jump: TEST A, B && JMPxx LABEL", + "reg_req" => { "in" => [ "gp", "gp" ], "out" => [ "none" ] }, + "cmp_attr" => " return ia32_compare_immop_attr(attr_a, attr_b);\n", +}, + + "SwitchJmp" => { "op_flags" => "L|X|Y", "comment" => "construct switch",