Commit 9e51149d by Uros Bizjak

* config/i386/i386.md (divmod<mode>4) Macroize expander from

	divmoddi4, divmodsi4 and divmodhi4 patterns using SWI248 macro.
	(*divmod<mode>4): Macroize insn_and_split pattern from
	*divmoddi4_cltd_rex64, *divmodsi4_cltd and divmodhi4 insn patterns
	and their corresponding splitters usign SWI248 macro.  Split SImode
	insn to generate cltd and DImode insn to generate cqto instead of
	move+shift when optimizing for size or TARGET_USE_CLTD is in effect.
	(*divmoddi4_nocltd_rex64, *divmodsi4_nocltd): Remove insn patterns.
	(*divmod<mode>4_noext): Macroize insn from *divmoddi_noext_rex64 and
	*divmodsi_noext patterns using SWI248 macro.
	(udivmod<mode>4): Macroize expander from udivmoddi4, udivmodsi4 and
	udivmodhi4 patterns using SWI248 macro.
	(*udivmod<mode>4): Macroize insn_and_split pattern from
	*udivmoddi4, udivmodsi4 and udivmodhi4 patterns and their
	corresponding splitters using SWI248 macro.
	(*udivmod<mode>4_noext): Macroize insn from *udivmoddi4_noext,
	*udivmodsi4_noext and *udivmodhi_noext patterns using SWI248 macro.

From-SVN: r152416
parent c2ce8cdc
2009-10-02 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (divmod<mode>4) Macroize expander from
divmoddi4, divmodsi4 and divmodhi4 patterns using SWI248 macro.
(*divmod<mode>4): Macroize insn_and_split pattern from
*divmoddi4_cltd_rex64, *divmodsi4_cltd and divmodhi4 insn patterns
and their corresponding splitters usign SWI248 macro. Split SImode
insn to generate cltd and DImode insn to generate cqto instead of
move+shift when optimizing for size or TARGET_USE_CLTD is in effect.
(*divmoddi4_nocltd_rex64, *divmodsi4_nocltd): Remove insn patterns.
(*divmod<mode>4_noext): Macroize insn from *divmoddi_noext_rex64 and
*divmodsi_noext patterns using SWI248 macro.
(udivmod<mode>4): Macroize expander from udivmoddi4, udivmodsi4 and
udivmodhi4 patterns using SWI248 macro.
(*udivmod<mode>4): Macroize insn_and_split pattern from
*udivmoddi4, udivmodsi4 and udivmodhi4 patterns and their
corresponding splitters using SWI248 macro.
(*udivmod<mode>4_noext): Macroize insn from *udivmoddi4_noext,
*udivmodsi4_noext and *udivmodhi_noext patterns using SWI248 macro.
2009-10-02 Eric Botcazou <ebotcazou@adacore.com> 2009-10-02 Eric Botcazou <ebotcazou@adacore.com>
* stor-layout.c (layout_type) <ARRAY_TYPE>: Make sure that an array * stor-layout.c (layout_type) <ARRAY_TYPE>: Make sure that an array
...@@ -36,7 +56,7 @@ ...@@ -36,7 +56,7 @@
2009-10-02 Andreas Schwab <schwab@linux-m68k.org> 2009-10-02 Andreas Schwab <schwab@linux-m68k.org>
Maxim Kuvyrkov <maxim@codesourcery.com> Maxim Kuvyrkov <maxim@codesourcery.com>
* config/m68k/lb1sf68.asm (PICCALL): Use variable sized branch. * config/m68k/lb1sf68.asm (PICCALL): Use variable sized branch.
2009-10-02 Nick Clifton <nickc@redhat.com> 2009-10-02 Nick Clifton <nickc@redhat.com>
...@@ -89,12 +109,12 @@ ...@@ -89,12 +109,12 @@
PR c++/41503 PR c++/41503
* cp/pt.c (function_parameter_expanded_from_pack_p): Return false if * cp/pt.c (function_parameter_expanded_from_pack_p): Return false if
DECL_ARTIFICIAL (param_decl) is true. DECL_ARTIFICIAL (param_decl) is true.
2009-09-30 Gabriel Dos Reis <gdr@cs.tamu.edu> 2009-09-30 Gabriel Dos Reis <gdr@cs.tamu.edu>
* tree.h (tree_decl_common::lang_flag_8): New. * tree.h (tree_decl_common::lang_flag_8): New.
* c-common.c (c_common_reswords): Include "constexpr" as C++0x * c-common.c (c_common_reswords): Include "constexpr" as C++0x
keyword. keyword.
* c-common.h (RID_CONSTEXPR): New. * c-common.h (RID_CONSTEXPR): New.
2009-09-30 Uros Bizjak <ubizjak@gmail.com> 2009-09-30 Uros Bizjak <ubizjak@gmail.com>
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
PR testsuite/41546 PR testsuite/41546
* gcc.target/i386/ifcvt-onecmpl-abs-1.c: Change -mtune=i586 * gcc.target/i386/ifcvt-onecmpl-abs-1.c: Change -mtune=i586
to -mtune=generic. to -mtune=generic.
2009-10-01 Jan Hubicka <jh@suse.cz> 2009-10-01 Jan Hubicka <jh@suse.cz>
...@@ -245,7 +245,7 @@ ...@@ -245,7 +245,7 @@
* gcc.target/i386/avx-2.c * gcc.target/i386/avx-2.c
* gcc.target/i386/sse-23.c: Remove comments to mmintrin-common.h. * gcc.target/i386/sse-23.c: Remove comments to mmintrin-common.h.
* gcc.target/i386/funcspec-9.c: Delete. * gcc.target/i386/funcspec-9.c: Delete.
2009-09-29 Jakub Jelinek <jakub@redhat.com> 2009-09-29 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/guality/guality.exp (gdb-test): New proc for use in dg-final. * gcc.dg/guality/guality.exp (gdb-test): New proc for use in dg-final.
...@@ -294,7 +294,7 @@ ...@@ -294,7 +294,7 @@
2009-09-28 Olivier Hainque <hainque@adacore.com> 2009-09-28 Olivier Hainque <hainque@adacore.com>
* gnat.dg (tagged_alloc_free.adb): New testcase. * gnat.dg (tagged_alloc_free.adb): New testcase.
2009-09-28 Janis Johnson <janis187@us.ibm.com> 2009-09-28 Janis Johnson <janis187@us.ibm.com>
* g++.dg/dfp: New directory. * g++.dg/dfp: New directory.
...@@ -871,8 +871,7 @@ ...@@ -871,8 +871,7 @@
* gcc.dg/dfp/compare-special.h: Ditto. * gcc.dg/dfp/compare-special.h: Ditto.
* gcc.dg/dfp/convert.h: Ditto. * gcc.dg/dfp/convert.h: Ditto.
* gcc.dg/dfp/fe-check.h: Ditto. * gcc.dg/dfp/fe-check.h: Ditto.
* gcc.dg/dfp/call-by-value.c: Use default options and * gcc.dg/dfp/call-by-value.c: Use default options and debug macros.
debug macros.
* gcc.dg/dfp/cast.c: Ditto. * gcc.dg/dfp/cast.c: Ditto.
* gcc.dg/dfp/compare-eq-const.c: Ditto. * gcc.dg/dfp/compare-eq-const.c: Ditto.
* gcc.dg/dfp/compare-eq-d32.c: Ditto. * gcc.dg/dfp/compare-eq-d32.c: Ditto.
......
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