X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2FTEMPLATE%2FTEMPLATE_spec.pl;h=3e7dfcacb79c7ad90804c94fd5ae5bf08eac9390;hb=4d808298b72e72bd06c7466e837dd9dda4eb1070;hp=86abe1a0fb0f0382a935f49eb88a69804d83c56b;hpb=b0e09fe0aada2e5d9dc0299e969b3c93c1092d97;p=libfirm diff --git a/ir/be/TEMPLATE/TEMPLATE_spec.pl b/ir/be/TEMPLATE/TEMPLATE_spec.pl index 86abe1a0f..3e7dfcacb 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 => "attitional 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)