This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r124095 - in /trunk/gcc: ChangeLog config/mips/...


Author: rsandifo
Date: Tue Apr 24 06:51:57 2007
New Revision: 124095

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124095
Log:
gcc/
2007-xx-xx  Chao-ying Fu  <fu@mips.com>
	    Richard Sandiford  <richard@nildram.co.uk>

	* doc/md.texi (madd@var{m}@var{n}4, umadd@var{m}@var{n}4): Document.
	* optabs.h (OTI_smadd_widen, OTI_umadd_widen): New optab_indexes.
	(smadd_widen_optab, umadd_widen_optab): Define.
	* optabs.c (init_optabs): Initialize smadd_widen_optab and
	umadd_widen_optab.
	* genopinit.c (optabs): Fill in smadd_widen_optab and
	umadd_widen_optab.
	* expr.c (expand_expr_real_1): Try to use smadd_widen_optab
	and umadd_widen_optab to implement multiply-add sequences.
	* config/mips/mips.md (*<su>mul_acc_di): Rename to...
	(<u>maddsidi4): ...this.  Extend condition to include
	GENERATE_MADD_MSUB and TARGET_DSPR2.  Change the constraint
	of operand 0 to "ka" and use the three-operand form of madd<u>
	for TARGET_DSPR2.
	* config/mips/mips-dspr2.md (mips_madd, mips_maddu): Convert
	to define_expands.
	* config/mips/constraints.md (ka): New register constraint.

gcc/testsuite/
2007-xx-xx  Richard Sandiford  <richard@nildram.co.uk>

	* gcc.target/mips/madd-1.c, gcc.target/mips/madd-2.c,
	* gcc.target/mips/madd-3.c, gcc.target/mips/madd-4.c,
	* gcc.target/mips/maddu-1.c, gcc.target/mips/maddu-2.c,
	* gcc.target/mips/maddu-3.c, gcc.target/mips/maddu-4.c: New tests.

Added:
    trunk/gcc/testsuite/gcc.target/mips/madd-1.c
    trunk/gcc/testsuite/gcc.target/mips/madd-2.c
    trunk/gcc/testsuite/gcc.target/mips/madd-3.c
    trunk/gcc/testsuite/gcc.target/mips/madd-4.c
    trunk/gcc/testsuite/gcc.target/mips/maddu-1.c
    trunk/gcc/testsuite/gcc.target/mips/maddu-2.c
    trunk/gcc/testsuite/gcc.target/mips/maddu-3.c
    trunk/gcc/testsuite/gcc.target/mips/maddu-4.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/mips/constraints.md
    trunk/gcc/config/mips/mips-dspr2.md
    trunk/gcc/config/mips/mips.md
    trunk/gcc/doc/md.texi
    trunk/gcc/expr.c
    trunk/gcc/genopinit.c
    trunk/gcc/optabs.c
    trunk/gcc/optabs.h
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]