Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/i386/i386.md @ 25:2476ed92181e
modified machine description of i386 for support indirect sibcall attributed fastcall.
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 27 Oct 2009 16:04:06 +0900 |
parents | 58ad6c70ea60 |
children | 27e6f95b2c21 |
comparison
equal
deleted
inserted
replaced
24:f37d7058d1ce | 25:2476ed92181e |
---|---|
15007 { | 15007 { |
15008 ix86_expand_call (NULL, operands[0], operands[1], operands[2], NULL, 1); | 15008 ix86_expand_call (NULL, operands[0], operands[1], operands[2], NULL, 1); |
15009 DONE; | 15009 DONE; |
15010 }) | 15010 }) |
15011 | 15011 |
15012 (define_expand "sibcall_pop" | |
15013 [(parallel [(call (match_operand:QI 0 "" "") | |
15014 (match_operand:SI 1 "" "")) | |
15015 (set (reg:SI SP_REG) | |
15016 (plus:SI (reg:SI SP_REG) | |
15017 (match_operand:SI 3 "" "")))])] | |
15018 "" | |
15019 { | |
15020 ix86_expand_call (NULL, operands[0], operands[1], operands[2], operands[3], 1); | |
15021 DONE; | |
15022 }) | |
15023 | |
15012 (define_insn "*call_0" | 15024 (define_insn "*call_0" |
15013 [(call (mem:QI (match_operand 0 "constant_call_address_operand" "")) | 15025 [(call (mem:QI (match_operand 0 "constant_call_address_operand" "")) |
15014 (match_operand 1 "" ""))] | 15026 (match_operand 1 "" ""))] |
15015 "" | 15027 "" |
15016 { | 15028 { |
15129 "" | 15141 "" |
15130 { | 15142 { |
15131 ix86_expand_call (operands[0], operands[1], operands[2], operands[3], NULL, 1); | 15143 ix86_expand_call (operands[0], operands[1], operands[2], operands[3], NULL, 1); |
15132 DONE; | 15144 DONE; |
15133 }) | 15145 }) |
15146 | |
15147 (define_expand "sibcall_value_pop" | |
15148 [(parallel [(set (match_operand 0 "" "") | |
15149 (call (match_operand:QI 1 "" "") | |
15150 (match_operand:SI 2 "" ""))) | |
15151 (set (reg:SI SP_REG) | |
15152 (plus:SI (reg:SI SP_REG) | |
15153 (match_operand:SI 4 "" "")))])] | |
15154 "!TARGET_64BIT" | |
15155 { | |
15156 ix86_expand_call (operands[0], operands[1], operands[2], | |
15157 operands[3], operands[4], 1); | |
15158 DONE; | |
15159 }) | |
15160 | |
15134 | 15161 |
15135 ;; Call subroutine returning any type. | 15162 ;; Call subroutine returning any type. |
15136 | 15163 |
15137 (define_expand "untyped_call" | 15164 (define_expand "untyped_call" |
15138 [(parallel [(call (match_operand 0 "" "") | 15165 [(parallel [(call (match_operand 0 "" "") |