]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/mn10300/mn10300.c
* mn10300.h (REG_CLASS_FROM_LETTER): Map 'y' to SP_REGS.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Jul 1998 12:08:59 +0000 (12:08 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Jul 1998 12:08:59 +0000 (12:08 +0000)
commit8ecf154ee131c58166845007de279c9d871b37e6
treee8f087aef94231eca8a8367138b5f491b07c24e8
parent2a639736f6d3b0606ced311c1f849a10365428eb
    * 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.

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