X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2FTEMPLATE%2FTEMPLATE_spec.pl;h=17b590d6c3aba3d00d728f186198e78b8e6a6046;hb=49650674902ee8d35388f8cff11568ec98b109ff;hp=86abe1a0fb0f0382a935f49eb88a69804d83c56b;hpb=b0e09fe0aada2e5d9dc0299e969b3c93c1092d97;p=libfirm diff --git a/ir/be/TEMPLATE/TEMPLATE_spec.pl b/ir/be/TEMPLATE/TEMPLATE_spec.pl index 86abe1a0f..17b590d6c 100644 --- a/ir/be/TEMPLATE/TEMPLATE_spec.pl +++ b/ir/be/TEMPLATE/TEMPLATE_spec.pl @@ -26,11 +26,16 @@ $arch = "TEMPLATE"; # comment => "any comment for constructor", # optional # reg_req => { in => [ "reg_class|register" ], out => [ "reg_class|register|in_rX" ] }, # cmp_attr => "c source code for comparing node attributes", # optional -# outs => { "out1", "out2" } # optional, creates pn_op_out1, ... consts -# ins => { "in1", "in2" } # optional, creates n_op_in1, ... consts -# mode => "mode_Iu" # optional, predefines the mode +# outs => { "out1", "out2" },# optional, creates pn_op_out1, ... consts +# ins => { "in1", "in2" }, # optional, creates n_op_in1, ... consts +# mode => "mode_Iu", # optional, predefines the mode # emit => "emit code with templates", # optional for virtual nodes -# rd_constructor => "c source code which constructs an ir_node" # optional +# attr => "additional attribute arguments for constructor", # optional +# init_attr => "emit attribute initialization template", # optional +# rd_constructor => "c source code which constructs an ir_node", # optional +# hash_func => "name of the hash function for this operation", # optional, get the default hash function else +# latency => "latency of this operation (can be float)" # optional +# attr_type => "name of the attribute struct", # optional # }, # # ... # (all nodes you need to describe)