diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2010-06-24 20:35:52 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2010-06-24 20:35:52 +0200 |
commit | b1c6d0185ae2978fee81aa96c256d3d6358a7adb (patch) | |
tree | adfbfb834dbbc5c48d2acea3d18f6c30c71d8aaa | |
parent | 969fd17d1e9902bd79436a718d6dd9304d3b6c34 (diff) | |
download | gcc-b1c6d0185ae2978fee81aa96c256d3d6358a7adb.zip gcc-b1c6d0185ae2978fee81aa96c256d3d6358a7adb.tar.gz gcc-b1c6d0185ae2978fee81aa96c256d3d6358a7adb.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 15 | ||||
-rw-r--r-- | gcc/config/i386/i386.md | 6 |
2 files changed, 14 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 16e71b9..740029c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +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> PR target/44588 @@ -19,9 +26,9 @@ 2010-06-24 Andi Kleen <ak@linux.intel.com> - * c-parser.c (c_parser_conditional_expression): - Call warn_for_omitted_condop. - * doc/invoke.texi: Document omitted condop warning. + * c-parser.c (c_parser_conditional_expression): Call + warn_for_omitted_condop. + * doc/invoke.texi: Document omitted condop warning. 2010-06-24 Nick Clifton<nickc@redhat.com> @@ -38,7 +45,7 @@ 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. (pushsf splitter): Macroize splitter using P mode iterator. (*swap<mode>): Macroize insn from *swap{sf,df} using MODEF diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index d2afa85..93843b3 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -2685,7 +2685,7 @@ "reload_completed" [(set (reg:P SP_REG) (plus:P (reg:P SP_REG) (match_dup 2))) (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 [(set (match_operand:XF 0 "push_operand" "") @@ -4127,7 +4127,7 @@ "" [(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)))] - "operands[2] = GEN_INT (TARGET_128BIT_LONG_DOUBLE ? -16 : -12);") + "operands[2] = GEN_INT (-GET_MODE_SIZE (XFmode));") (define_split [(set (match_operand:XF 0 "push_operand" "") @@ -4135,7 +4135,7 @@ "" [(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)))] - "operands[2] = GEN_INT (TARGET_128BIT_LONG_DOUBLE ? -16 : -12);") + "operands[2] = GEN_INT (-GET_MODE_SIZE (XFmode));") (define_expand "extendsfdf2" [(set (match_operand:DF 0 "nonimmediate_operand" "") |