From 8028628c2211772e9547e2d89b8db3995fe98ccf Mon Sep 17 00:00:00 2001 From: uros Date: Fri, 13 Nov 2009 07:59:22 +0000 Subject: [PATCH] * config/i386/i386.md (call_value): Fix comment. (sibcall_value): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154143 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 13 +++++++++---- gcc/config/i386/i386.md | 33 ++++++++++++++++++++------------- 2 files changed, 29 insertions(+), 17 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 47d7b70..586ae0d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,10 +1,15 @@ +2009-11-13 Uros Bizjak + + * config/i386/i386.md (call_value): Fix comment. + (sibcall_value): Ditto. + 2009-11-13 Eric Botcazou * config/i386/linux-unwind.h (x86_frob_update_context): New function. (MD_FROB_UPDATE_CONTEXT): Define. 2009-11-12 Eric Botcazou - Laurent GUERBY + Laurent GUERBY * config/sparc/linux-unwind.h (sparc64_fallback_frame_state): Tidy. Do not schedule an %sp restore. Compensate for RETURN_ADDR_OFFSET. @@ -39,8 +44,8 @@ * cgraph.h (varpool_node_name): Declare. * cgraphunit.c (process_function_and_variable_attributes): Set force_output flag on used variables. - * ipa.c (function_and_variable_visibility): Dump externally visible and - needed variables. + * ipa.c (function_and_variable_visibility): Dump externally visible + and needed variables. * varpool.c (varpool_node_name): Export. (decide_is_variable_needed): Check COMDAT for externally visible vars; ignore needed flag. @@ -10124,7 +10129,7 @@ * arm.c (aapcs_vfp_is_call_or_return_candidate): Change base_mode to pointer to enum machine_mode. Update all callers as needed. -2009-08-21 Uros Bizjak +2009-08-21 Uros Bizjak * config/alpha/alpha.md (exception_receiver): Emit alternative GP load sequence if flag_reorder_blocks_and_partition is set. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 82f5352..2a31366 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -14572,15 +14572,17 @@ (match_operand:SI 3 "" "")))])] "!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; }) (define_insn "*call_pop_0" [(call (mem:QI (match_operand:SI 0 "constant_call_address_operand" "")) (match_operand:SI 1 "" "")) - (set (reg:SI SP_REG) (plus:SI (reg:SI SP_REG) - (match_operand:SI 2 "immediate_operand" "")))] + (set (reg:SI SP_REG) + (plus:SI (reg:SI SP_REG) + (match_operand:SI 2 "immediate_operand" "")))] "!TARGET_64BIT" { if (SIBLING_CALL_P (insn)) @@ -14593,8 +14595,9 @@ (define_insn "*call_pop_1_esp" [(call (mem:QI (match_operand:SI 0 "call_insn_operand" "rsm")) (match_operand:SI 1 "" "")) - (set (reg:SI SP_REG) (plus:SI (reg:SI SP_REG) - (match_operand:SI 2 "immediate_operand" "i")))] + (set (reg:SI SP_REG) + (plus:SI (reg:SI SP_REG) + (match_operand:SI 2 "immediate_operand" "i")))] "!TARGET_64BIT && TARGET_CALL_ESP && !SIBLING_CALL_P (insn)" { if (constant_call_address_operand (operands[0], Pmode)) @@ -14606,8 +14609,9 @@ (define_insn "*call_pop_1" [(call (mem:QI (match_operand:SI 0 "call_insn_operand" "lsm")) (match_operand:SI 1 "" "")) - (set (reg:SI SP_REG) (plus:SI (reg:SI SP_REG) - (match_operand:SI 2 "immediate_operand" "i")))] + (set (reg:SI SP_REG) + (plus:SI (reg:SI SP_REG) + (match_operand:SI 2 "immediate_operand" "i")))] "!TARGET_64BIT && !TARGET_CALL_ESP && !SIBLING_CALL_P (insn)" { if (constant_call_address_operand (operands[0], Pmode)) @@ -14619,8 +14623,9 @@ (define_insn "*sibcall_pop_1" [(call (mem:QI (match_operand:SI 0 "sibcall_insn_operand" "s,U")) (match_operand:SI 1 "" "")) - (set (reg:SI SP_REG) (plus:SI (reg:SI SP_REG) - (match_operand:SI 2 "immediate_operand" "i,i")))] + (set (reg:SI SP_REG) + (plus:SI (reg:SI SP_REG) + (match_operand:SI 2 "immediate_operand" "i,i")))] "!TARGET_64BIT && SIBLING_CALL_P (insn)" "@ jmp\t%P0 @@ -14762,10 +14767,11 @@ (call (match_operand:QI 1 "" "") (match_operand:SI 2 "" ""))) (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; }) @@ -14774,10 +14780,11 @@ (call (match_operand:QI 1 "" "") (match_operand:SI 2 "" ""))) (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; }) -- 2.7.4