Commit b1c6d018 by Uros Bizjak

i386.md (XFmode push splitter): Use GET_MODE_SIZE to determine size of XFmode operand.

	* config/i386/i386.md (XFmode push splitter): Use GET_MODE_SIZE to
	determine size of XFmode operand.
	(XFmode extended DFmode push splitter): Ditto.
	(XFmode extended SFmode push splitter): Ditto.

From-SVN: r161332
parent 969fd17d
2010-06-24 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (XFmode push splitter): Use GET_MODE_SIZE to
determine size of XFmode operand.
(XFmode extended DFmode push splitter): Ditto.
(XFmode extended SFmode push splitter): Ditto.
2010-06-24 H.J. Lu <hongjiu.lu@intel.com> 2010-06-24 H.J. Lu <hongjiu.lu@intel.com>
PR target/44588 PR target/44588
...@@ -19,9 +26,9 @@ ...@@ -19,9 +26,9 @@
2010-06-24 Andi Kleen <ak@linux.intel.com> 2010-06-24 Andi Kleen <ak@linux.intel.com>
* c-parser.c (c_parser_conditional_expression): * c-parser.c (c_parser_conditional_expression): Call
Call warn_for_omitted_condop. warn_for_omitted_condop.
* doc/invoke.texi: Document omitted condop warning. * doc/invoke.texi: Document omitted condop warning.
2010-06-24 Nick Clifton<nickc@redhat.com> 2010-06-24 Nick Clifton<nickc@redhat.com>
...@@ -38,7 +45,7 @@ ...@@ -38,7 +45,7 @@
2010-06-23 Uros Bizjak <ubizjak@gmail.com> 2010-06-23 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386 (mov<mode>): Macroize expander from mov{sf,df,xf} * config/i386/i386.md (mov<mode>): Macroize expander from mov{sf,df,xf}
using X87MODEF mode iterator. using X87MODEF mode iterator.
(pushsf splitter): Macroize splitter using P mode iterator. (pushsf splitter): Macroize splitter using P mode iterator.
(*swap<mode>): Macroize insn from *swap{sf,df} using MODEF (*swap<mode>): Macroize insn from *swap{sf,df} using MODEF
......
...@@ -2685,7 +2685,7 @@ ...@@ -2685,7 +2685,7 @@
"reload_completed" "reload_completed"
[(set (reg:P SP_REG) (plus:P (reg:P SP_REG) (match_dup 2))) [(set (reg:P SP_REG) (plus:P (reg:P SP_REG) (match_dup 2)))
(set (mem:XF (reg:P SP_REG)) (match_dup 1))] (set (mem:XF (reg:P SP_REG)) (match_dup 1))]
"operands[2] = GEN_INT (TARGET_128BIT_LONG_DOUBLE ? -16 : -12);") "operands[2] = GEN_INT (-GET_MODE_SIZE (XFmode));")
(define_split (define_split
[(set (match_operand:XF 0 "push_operand" "") [(set (match_operand:XF 0 "push_operand" "")
...@@ -4127,7 +4127,7 @@ ...@@ -4127,7 +4127,7 @@
"" ""
[(set (reg:P SP_REG) (plus:P (reg:P SP_REG) (match_dup 2))) [(set (reg:P SP_REG) (plus:P (reg:P SP_REG) (match_dup 2)))
(set (mem:XF (reg:P SP_REG)) (float_extend:XF (match_dup 1)))] (set (mem:XF (reg:P SP_REG)) (float_extend:XF (match_dup 1)))]
"operands[2] = GEN_INT (TARGET_128BIT_LONG_DOUBLE ? -16 : -12);") "operands[2] = GEN_INT (-GET_MODE_SIZE (XFmode));")
(define_split (define_split
[(set (match_operand:XF 0 "push_operand" "") [(set (match_operand:XF 0 "push_operand" "")
...@@ -4135,7 +4135,7 @@ ...@@ -4135,7 +4135,7 @@
"" ""
[(set (reg:P SP_REG) (plus:P (reg:P SP_REG) (match_dup 2))) [(set (reg:P SP_REG) (plus:P (reg:P SP_REG) (match_dup 2)))
(set (mem:DF (reg:P SP_REG)) (float_extend:XF (match_dup 1)))] (set (mem:DF (reg:P SP_REG)) (float_extend:XF (match_dup 1)))]
"operands[2] = GEN_INT (TARGET_128BIT_LONG_DOUBLE ? -16 : -12);") "operands[2] = GEN_INT (-GET_MODE_SIZE (XFmode));")
(define_expand "extendsfdf2" (define_expand "extendsfdf2"
[(set (match_operand:DF 0 "nonimmediate_operand" "") [(set (match_operand:DF 0 "nonimmediate_operand" "")
......
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