nios2.h (enum reg_class): Add IJMP_REGS enum value.
authorChung-Lin Tang <cltang@codesourcery.com>
Tue, 12 May 2015 15:57:22 +0000 (15:57 +0000)
committerSandra Loosemore <sandra@gcc.gnu.org>
Tue, 12 May 2015 15:57:22 +0000 (11:57 -0400)
commit3c8c9f0daf922b6dd1f802d4dfd8b9387031b190
tree1ac0c89cf96ca15ce0da3e94b077f3db5313db15
parenta92a1c274c7a8e88920f67f045dd5314f912a6b2
nios2.h (enum reg_class): Add IJMP_REGS enum value.

2015-05-12  Chung-Lin Tang  <cltang@codesourcery.com>
    Sandra Loosemore <sandra@codesourcery.com>

gcc/
* config/nios2/nios2.h (enum reg_class): Add IJMP_REGS enum
value.
(REG_CLASS_NAMES): Add "IJMP_REGS".
(REG_CLASS_CONTENTS): Add new entry for IJMP_REGS.
* config/nios2/nios2.md (indirect_jump,*tablejump): Adjust to
use new "c" register constraint.
* config/nios2/constraint.md (c): New register constraint
corresponding to IJMP_REGS.

Co-Authored-By: Sandra Loosemore <sandra@codesourcery.com>
From-SVN: r223082
gcc/ChangeLog
gcc/config/nios2/constraints.md
gcc/config/nios2/nios2.h
gcc/config/nios2/nios2.md