predicates.md (pop_operation): New.
authorSandra Loosemore <sandra@codesourcery.com>
Tue, 14 Jul 2015 23:16:43 +0000 (19:16 -0400)
committerSandra Loosemore <sandra@gcc.gnu.org>
Tue, 14 Jul 2015 23:16:43 +0000 (19:16 -0400)
commitaa32db37e435d17e473f9089021fb1d8b888a37d
treec3c61e120f7c564f6dda267aaadbc265d34d0e80
parent3bbbe009de4f810f7240eae51e45d861582ecf79
predicates.md (pop_operation): New.

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.

Co-Authored-By: Cesar Philippidis <cesar@codesourcery.com>
Co-Authored-By: Chung-Lin Tang <cltang@codesourcery.com>
From-SVN: r225798
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]