From 191dc2e925e405104aed46be66ff7fadf24a37a6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20W=C3=BCrdig?= Date: Sun, 13 Aug 2006 13:23:02 +0000 Subject: [PATCH] added modufy_sp flag for AddSP --- ir/be/ia32/ia32_spec.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ir/be/ia32/ia32_spec.pl b/ir/be/ia32/ia32_spec.pl index 9ae90a2b3..ed2348d2a 100644 --- a/ir/be/ia32/ia32_spec.pl +++ b/ir/be/ia32/ia32_spec.pl @@ -18,7 +18,7 @@ $comment_string = "/*"; # # => { # "op_flags" => "N|L|C|X|I|F|Y|H|c|K", -# "irn_flags" => "R|N|I" +# "irn_flags" => "R|N|I|S" # "arity" => "0|1|2|3 ... |variable|dynamic|any", # "state" => "floats|pinned|mem_pinned|exc_pinned", # "args" => [ @@ -57,6 +57,7 @@ $comment_string = "/*"; # R rematerializeable # N not spillable # I ignore for register allocation +# S modifies stack pointer # # state: state of the operation, OPTIONAL (default is "floats") # @@ -738,7 +739,7 @@ else { }, "AddSP" => { - "irn_flags" => "I", + "irn_flags" => "S|I", "comment" => "allocate space on stack", "reg_req" => { "in" => [ "esp", "gp" ], "out" => [ "esp", "none" ] }, "outs" => [ "stack", "M" ], -- 2.20.1