projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4261453
)
added TestJmp for test, r, r, jcc combination
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Sat, 18 Mar 2006 12:15:10 +0000
(12:15 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Sat, 18 Mar 2006 12:15:10 +0000
(12:15 +0000)
ir/be/ia32/ia32_spec.pl
patch
|
blob
|
history
diff --git
a/ir/be/ia32/ia32_spec.pl
b/ir/be/ia32/ia32_spec.pl
index
8e242b0
..
555daab
100644
(file)
--- 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",