OSDN Git Service

* config/cris/cris.md (CRIS_CC0_REGNUM): New constant.
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Jul 2005 10:04:10 +0000 (10:04 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Jul 2005 10:04:10 +0000 (10:04 +0000)
commit2586cf34f8f13db41cb913339eac72e12efdc02f
tree4cae8bd5ad9ffca0d43bc9bb0906d01b77c6dfa4
parent3a06b0f38a5194f6a26cca1114e3d0bc1e2691cd
* config/cris/cris.md (CRIS_CC0_REGNUM): New constant.
Swap numbers for CRIS_AP_REGNUM and CRIS_MOF_REGNUM.
* config/cris/cris.c (cris_conditional_register_usage): Adjust
reg_names[CRIS_CC0_REGNUM] for early CRIS versions.
(cris_print_operand) <case REG>: Handle CRIS_CC0_REGNUM.
(cris_md_asm_clobbers): Clobber CRIS_CC0_REGNUM for all asms.
* config/cris/cris.h (CRIS_CANONICAL_CC0_REGNUM): New macro.
(enum reg_class): New member CC0_REGS.
(REG_CLASS_FROM_LETTER): Add 'c' for CC0_REGS.
(FIRST_PSEUDO_REGISTER, CALL_USED_REGISTERS, REG_ALLOC_ORDER)
(HARD_REGNO_MODE_OK, MODES_TIEABLE_P, REG_CLASS_NAMES)
(CRIS_SPECIAL_REGS_CONTENTS, REG_CLASS_CONTENTS, REGNO_REG_CLASS)
(PREFERRED_RELOAD_CLASS, REGISTER_NAMES, DBX_REGISTER_NUMBER):
Adjust for register now described.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101502 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/cris/cris.c
gcc/config/cris/cris.h
gcc/config/cris/cris.md