mn10300.h (REG_CLASS_FROM_LETTER): Map 'y' to SP_REGS.
authorJeff Law <law@gcc.gnu.org>
Mon, 13 Jul 1998 12:08:59 +0000 (06:08 -0600)
committerJeff Law <law@gcc.gnu.org>
Mon, 13 Jul 1998 12:08:59 +0000 (06:08 -0600)
commit4d1a91c2bf4e81b4c260a072c411d3bfc5ca6dd8
treee8f087aef94231eca8a8367138b5f491b07c24e8
parent518b6ce38a5a1ec4ec2e3935a6b24a0cad1ca9dd
mn10300.h (REG_CLASS_FROM_LETTER): Map 'y' to SP_REGS.

        * mn10300.h (REG_CLASS_FROM_LETTER): Map 'y' to SP_REGS.
        Handle 'x' as NO_REGS for this cpu.
        (REGNO_OK_FOR_BIT_BASE_P): Define.
        (REG_OK_FOR_BIT_BASE_P): Define.
        (GO_IF_LEGITIMATE_ADDRESS): Use them.
        (REG_OK_FOR_INDEX_P): Tweak.
        * mn13000.c (REG_SAVE_BYTES): Define.
        (expand_epilogue, initial_offset): Use it.
        (secondary_reload_class): Slightly reformat.
        (output_tst): Tweak comments.
        * mn10300.md: Change 'x' to 'y' for SP_REGS.  Then add 'x' to many
        patterns.
        (addsi3): Turn into a define_expand/define_insn pair.  Rework code for
        three operand addition case to be more efficient.
        (subsi3): Turn into a define_expand/define_insn pair.

From-SVN: r21104
gcc/config/mn10300/mn10300.c
gcc/config/mn10300/mn10300.h
gcc/config/mn10300/mn10300.md