make v850 use constraints.md
authorNathan Froyd <froydnj@codesourcery.com>
Mon, 14 Feb 2011 17:26:59 +0000 (17:26 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Mon, 14 Feb 2011 17:26:59 +0000 (17:26 +0000)
commitc6150df67f5d7cb05a5784509d9158e0ecc471d8
treed074ad62bdf1f6a129a4e61a9d6dd25608148ec8
parent49f0e1ba4aa0eafe931e34a0876be7b8df58afde
make v850 use constraints.md

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.

From-SVN: r170140
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