OSDN Git Service

make v850 use constraints.md
authorfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Feb 2011 17:26:59 +0000 (17:26 +0000)
committerfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Feb 2011 17:26:59 +0000 (17:26 +0000)
commit48fd9d1676f20a9c17f4d635572337ad13271512
treed074ad62bdf1f6a129a4e61a9d6dd25608148ec8
parent1e95c98edd8912b6ddaeb914fa314136ef81f7a4
make v850 use constraints.md
        * config/v850/constraints.md: New file.
        * config/v850/v850.md: Include it.
        * config/v850/predicates.md (reg_or_0_operand): Use
        satisfies_constraint_G.
        (special_symbolref_operand): Use satisfies_constraint_K.
        * config/v850/v850.h (CONSTANT_ADDRESS_P): Use constraint_satisfied_p.
        (GO_IF_LEGITIMATE_ADDRESS): Likewise.
        (REG_CLASS_FROM_LETTER, INT_7_BITS, INT_8_BITS): Delete.
        (CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete.
        (EXTRA_CONSTRAINT): Delete.
        (CONST_OK_FOR_I, CONST_OK_FOR_J): Use insn_const_int_ok_for_constraint.
        (CONST_OK_FOR_K, CONST_OK_FOR_L, CONST_OK_FOR_M): Likewise.
        (CONST_OK_FOR_N, CONST_OK_FOR_O): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170140 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/v850/constraints.md [new file with mode: 0644]
gcc/config/v850/predicates.md
gcc/config/v850/v850.h
gcc/config/v850/v850.md