constraints.md (Wcv): Allow up to $r31.
authorDJ Delorie <dj@redhat.com>
Tue, 17 Sep 2013 22:06:53 +0000 (18:06 -0400)
committerDJ Delorie <dj@gcc.gnu.org>
Tue, 17 Sep 2013 22:06:53 +0000 (18:06 -0400)
commit09d5094b2d48192f5e4cc7be9b123289c41a8f65
treee5e26ad46d05059dc7f9d09b7380677ca2dc9b91
parent2ba1dca17789ba97811561010f793f913c334c2e
constraints.md (Wcv): Allow up to $r31.

* config/rl78/constraints.md (Wcv): Allow up to $r31.
* config/rl78/rl78.c (rl78_asm_file_start: Likewise.
(rl78_option_override): Likewise, if -mallregs.
(is_virtual_register): Likewise.
* config/rl78/rl78.h (reg_class): Extend VREGS to $r31.
(REGNO_OK_FOR_BASE_P): Likewise.
* config/rl78/rl78.opt (-mallregs): New.

From-SVN: r202669
gcc/ChangeLog
gcc/config/rl78/constraints.md
gcc/config/rl78/rl78.c
gcc/config/rl78/rl78.h
gcc/config/rl78/rl78.opt