Commit 0f032845 by Uros Bizjak

i386.md (call_value): Fix comment.

	* config/i386/i386.md (call_value): Fix comment.
	(sibcall_value): Ditto.

From-SVN: r154143
parent 9feed216
2009-11-13 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (call_value): Fix comment.
(sibcall_value): Ditto.
2009-11-13 Eric Botcazou <ebotcazou@adacore.com> 2009-11-13 Eric Botcazou <ebotcazou@adacore.com>
* config/i386/linux-unwind.h (x86_frob_update_context): New function. * config/i386/linux-unwind.h (x86_frob_update_context): New function.
...@@ -39,8 +44,8 @@ ...@@ -39,8 +44,8 @@
* cgraph.h (varpool_node_name): Declare. * cgraph.h (varpool_node_name): Declare.
* cgraphunit.c (process_function_and_variable_attributes): Set * cgraphunit.c (process_function_and_variable_attributes): Set
force_output flag on used variables. force_output flag on used variables.
* ipa.c (function_and_variable_visibility): Dump externally visible and * ipa.c (function_and_variable_visibility): Dump externally visible
needed variables. and needed variables.
* varpool.c (varpool_node_name): Export. * varpool.c (varpool_node_name): Export.
(decide_is_variable_needed): Check COMDAT for externally visible vars; (decide_is_variable_needed): Check COMDAT for externally visible vars;
ignore needed flag. ignore needed flag.
...@@ -14572,14 +14572,16 @@ ...@@ -14572,14 +14572,16 @@
(match_operand:SI 3 "" "")))])] (match_operand:SI 3 "" "")))])]
"!TARGET_64BIT" "!TARGET_64BIT"
{ {
ix86_expand_call (NULL, operands[0], operands[1], operands[2], operands[3], 0); ix86_expand_call (NULL, operands[0], operands[1],
operands[2], operands[3], 0);
DONE; DONE;
}) })
(define_insn "*call_pop_0" (define_insn "*call_pop_0"
[(call (mem:QI (match_operand:SI 0 "constant_call_address_operand" "")) [(call (mem:QI (match_operand:SI 0 "constant_call_address_operand" ""))
(match_operand:SI 1 "" "")) (match_operand:SI 1 "" ""))
(set (reg:SI SP_REG) (plus:SI (reg:SI SP_REG) (set (reg:SI SP_REG)
(plus:SI (reg:SI SP_REG)
(match_operand:SI 2 "immediate_operand" "")))] (match_operand:SI 2 "immediate_operand" "")))]
"!TARGET_64BIT" "!TARGET_64BIT"
{ {
...@@ -14593,7 +14595,8 @@ ...@@ -14593,7 +14595,8 @@
(define_insn "*call_pop_1_esp" (define_insn "*call_pop_1_esp"
[(call (mem:QI (match_operand:SI 0 "call_insn_operand" "rsm")) [(call (mem:QI (match_operand:SI 0 "call_insn_operand" "rsm"))
(match_operand:SI 1 "" "")) (match_operand:SI 1 "" ""))
(set (reg:SI SP_REG) (plus:SI (reg:SI SP_REG) (set (reg:SI SP_REG)
(plus:SI (reg:SI SP_REG)
(match_operand:SI 2 "immediate_operand" "i")))] (match_operand:SI 2 "immediate_operand" "i")))]
"!TARGET_64BIT && TARGET_CALL_ESP && !SIBLING_CALL_P (insn)" "!TARGET_64BIT && TARGET_CALL_ESP && !SIBLING_CALL_P (insn)"
{ {
...@@ -14606,7 +14609,8 @@ ...@@ -14606,7 +14609,8 @@
(define_insn "*call_pop_1" (define_insn "*call_pop_1"
[(call (mem:QI (match_operand:SI 0 "call_insn_operand" "lsm")) [(call (mem:QI (match_operand:SI 0 "call_insn_operand" "lsm"))
(match_operand:SI 1 "" "")) (match_operand:SI 1 "" ""))
(set (reg:SI SP_REG) (plus:SI (reg:SI SP_REG) (set (reg:SI SP_REG)
(plus:SI (reg:SI SP_REG)
(match_operand:SI 2 "immediate_operand" "i")))] (match_operand:SI 2 "immediate_operand" "i")))]
"!TARGET_64BIT && !TARGET_CALL_ESP && !SIBLING_CALL_P (insn)" "!TARGET_64BIT && !TARGET_CALL_ESP && !SIBLING_CALL_P (insn)"
{ {
...@@ -14619,7 +14623,8 @@ ...@@ -14619,7 +14623,8 @@
(define_insn "*sibcall_pop_1" (define_insn "*sibcall_pop_1"
[(call (mem:QI (match_operand:SI 0 "sibcall_insn_operand" "s,U")) [(call (mem:QI (match_operand:SI 0 "sibcall_insn_operand" "s,U"))
(match_operand:SI 1 "" "")) (match_operand:SI 1 "" ""))
(set (reg:SI SP_REG) (plus:SI (reg:SI SP_REG) (set (reg:SI SP_REG)
(plus:SI (reg:SI SP_REG)
(match_operand:SI 2 "immediate_operand" "i,i")))] (match_operand:SI 2 "immediate_operand" "i,i")))]
"!TARGET_64BIT && SIBLING_CALL_P (insn)" "!TARGET_64BIT && SIBLING_CALL_P (insn)"
"@ "@
...@@ -14762,10 +14767,11 @@ ...@@ -14762,10 +14767,11 @@
(call (match_operand:QI 1 "" "") (call (match_operand:QI 1 "" "")
(match_operand:SI 2 "" ""))) (match_operand:SI 2 "" "")))
(use (match_operand:SI 3 "" ""))] (use (match_operand:SI 3 "" ""))]
;; Operand 2 not used on the i386. ;; Operand 3 is not used on the i386.
"" ""
{ {
ix86_expand_call (operands[0], operands[1], operands[2], operands[3], NULL, 0); ix86_expand_call (operands[0], operands[1], operands[2],
operands[3], NULL, 0);
DONE; DONE;
}) })
...@@ -14774,10 +14780,11 @@ ...@@ -14774,10 +14780,11 @@
(call (match_operand:QI 1 "" "") (call (match_operand:QI 1 "" "")
(match_operand:SI 2 "" ""))) (match_operand:SI 2 "" "")))
(use (match_operand:SI 3 "" ""))] (use (match_operand:SI 3 "" ""))]
;; Operand 2 not used on the i386. ;; Operand 3 is not used on the i386.
"" ""
{ {
ix86_expand_call (operands[0], operands[1], operands[2], operands[3], NULL, 1); ix86_expand_call (operands[0], operands[1], operands[2],
operands[3], NULL, 1);
DONE; DONE;
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment