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

nemet@gcc.gnu.org nemet@gcc.gnu.org
Tue Aug 11 17:41:00 GMT 2009


Author: nemet
Date: Tue Aug 11 17:41:09 2009
New Revision: 150657

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150657
Log:
	* config/mips/predicates.md (qi_mask_operand, hi_mask_operand,
	si_mask_operand, and_load_operand, low_bitmask_operand,
	and_reg_operand, and_operand): New predicates.
	* config/mips/constraints.md (Yb, Yh, Yw, Yz): New constraints.
	* config/mips/mips.c (and_operands_ok): New function.
	* config/mips/mips-protos.h (and_operands_ok): Declare it.
	* config/mips/mips.md (move_type): Add ext_ins and logical.
	(type): Handle them.
	(and<mode>3): Use and_reg_operand as the second operand's
	predicate.
	(*and<mode>3): Add alternatives for lbu, lhu, lwu, <d>ext and
	shift_shift.  Remove commutative constraint modifier.
	(*and<mode>3_mips16): Add alternatives for lbu, lhu, lwu and
	shift_shift.
	(*clear_upper32_dext): Remove define_insn_and_split.
	(*clear_upper32): Turn this define_insn_and_split ...
	(splitter for ANDing register with 0xffff_ffff): .. into this.

testsuite/
	* gcc.target/mips/ext-5.c: New test.
	* gcc.target/mips/ext-6.c: New test.
	* gcc.target/mips/ext-7.c: New test.
	* gcc.target/mips/ext-8.c: New test.
	* gcc.target/mips/extend-2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/mips/ext-5.c
    trunk/gcc/testsuite/gcc.target/mips/ext-6.c
    trunk/gcc/testsuite/gcc.target/mips/ext-7.c
    trunk/gcc/testsuite/gcc.target/mips/ext-8.c
    trunk/gcc/testsuite/gcc.target/mips/extend-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/mips/constraints.md
    trunk/gcc/config/mips/mips-protos.h
    trunk/gcc/config/mips/mips.c
    trunk/gcc/config/mips/mips.md
    trunk/gcc/config/mips/predicates.md
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list