2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
commita1c5c1d5328a897faee988e9af0d6379892ed9fb
authorsandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Jul 2015 23:16:43 +0000 (14 23:16 +0000)
committersandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Jul 2015 23:16:43 +0000 (14 23:16 +0000)
treec3c61e120f7c564f6dda267aaadbc265d34d0e80
parent8bdd6ded5e49ba1b0342fbf0509d323578c88f0e
2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
    Cesar Philippidis  <cesar@codesourcery.com>
    Chung-Lin Tang  <cltang@codesourcery.com>

gcc/
* config/nios2/predicates.md (pop_operation): New.
(ldwm_operation, stwm_operation): New.
(nios2_hard_register_operand): New.
* config/nios2/nios2-protos.h (pop_operation_p): Declare.
(ldstwm_operation_p): Declare.
(gen_ldstwm_peep): Declare.
* config/nios2/nios2.c: (nios2_ldst_parallel): Declare.
(base_reg_adjustment_p): New.
(pop_operation_p): New.
(CDX_LDSTWM_VALID_REGS_0, CDX_LDSTWM_VALID_REGS_1): Define.
(nios2_ldstwm_regset_p): New.
(ldstwm_operation_p): New.
(gen_ldst): New.
(nios2_ldst_parallel): New.
(struct ldswm_operand): Declare.
(compare_ldstwm_operands): New.
(can_use_cdx_ldstw): New.
(gen_ldstwm_peep): New.
* config/nios2/nios2-ldstwm.sml: New.
* config/nios2/nios2.md: Include ldstwm.md.
* config/nios2/ldstwm.md: Generated.

gcc/testsuite/
* gcc.target/nios2/cdx-ldstwm-1.c: New.
* gcc.target/nios2/cdx-ldstwm-2.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225798 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/nios2/ldstwm.md [new file with mode: 0644]
gcc/config/nios2/nios2-ldstwm.sml [new file with mode: 0644]
gcc/config/nios2/nios2-protos.h
gcc/config/nios2/nios2.c
gcc/config/nios2/nios2.md
gcc/config/nios2/predicates.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/nios2/cdx-ldstwm-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/nios2/cdx-ldstwm-2.c [new file with mode: 0644]