From 323b2a38967c0ee97f0d17b92b7b36455ddf2ed9 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Sat, 18 Mar 2006 12:15:10 +0000 Subject: [PATCH] added TestJmp for test, r, r, jcc combination --- ir/be/ia32/ia32_spec.pl | 8 ++++++++ 1 file changed, 8 insertions(+) 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", -- 2.20.1