mmix.h (MMIX_REG_OK_STRICT): Delete.
authorNathan Froyd <froydnj@gcc.gnu.org>
Wed, 12 Sep 2012 01:52:36 +0000 (01:52 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Wed, 12 Sep 2012 01:52:36 +0000 (01:52 +0000)
commite076319b26d78eeff5a44422e404c1a29d683de2
treea590eb04ea331ce9f0185333e0e9f57ede58723e
parent1da598fbd5532e006587fa8bb5e74579f018cccb
mmix.h (MMIX_REG_OK_STRICT): Delete.

* config/mmix/mmix.h (MMIX_REG_OK_STRICT): Delete.
(REG_CLASS_FROM_LETTER, CONST_OK_FOR_LETTER_P): Delete.
(CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT): Delete.
* config/mmix/mmix-protos.h (mmix_intval): Declare.
(mmix_const_ok_for_letter_p, mmix_extra_constraint): Delete.
(mmix_const_double_ok_for_letter_p): Delete.
* config/mmix/constraints.md: New file.
* config/mmix/mmix.md: Include it.
(iordi3): Fix typo; use "I" instead of undefined "H" constraint.
("*call_real"): Update comment about not using the "p" constraint.
* config/mmix/predicates.md (mmix_reg_or_8bit_operand): Use
satisfies_constraint_I.
(mmix_address_operand): New predicate.
(mmix_symbolic_or_address_operand): Use it instead of address_operand.
* config/mmix/mmix.c: #include tm-constrs.h.
(mmix_intval): Delete declaration.  Make non-static.
(mmix_const_ok_for_letter_p, mmix_extra_constraint): Delete.
(mmix_const_double_ok_for_letter_p): Delete.
(mmix_legitimate_address_p): Use satisfies_constraint_I.
(mmix_print_operand_address): Likewise.
(mmix_emit_sp_add): Adjust to use insn_const_int_ok_for_constraint
when matching "L" constraint.

Co-Authored-By: Hans-Peter Nilsson <hp@bitrange.com>
From-SVN: r191208
gcc/ChangeLog
gcc/config/mmix/constraints.md [new file with mode: 0644]
gcc/config/mmix/mmix-protos.h
gcc/config/mmix/mmix.c
gcc/config/mmix/mmix.h
gcc/config/mmix/mmix.md
gcc/config/mmix/predicates.md