rl78.c (rl78_expand_prologue): Mark large stack decrement instruction as being frame...
authorNick Clifton <nickc@redhat.com>
Wed, 15 Apr 2015 07:24:44 +0000 (07:24 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Wed, 15 Apr 2015 07:24:44 +0000 (07:24 +0000)
commit9368432388432fc22a85f74150d0f30e486a9bc0
treef84e3826cb3bb944318696c72ed5fc631022ae12
parent614d5bd88def9761bdfce33815f5e83cc801dab0
rl78.c (rl78_expand_prologue): Mark large stack decrement instruction as being frame related.

* config/rl78/rl78.c (rl78_expand_prologue): Mark large stack
decrement instruction as being frame related.
(rl78_print_operand_1): Handle 'p' modifier to add +0 to HL
based addresses.
If zero extending a function address enclose the operation in
%code(...).
(rl78_preferred_reload_class): New function.
(TARGET_PREFERRED_RELOAD_CLASS): Define.
* config/rl78/rl78.md: Remove useless constraints in expanders.
(mulqi3_rl78): Remove + qualifier on input-only operand 1.
(mulhi3_rl78): Likewise.
(mulhi3_g13): Likewise.
(mulsi3_rl78): Likewise.
(es_addr): Move to before the multiply patterns.

From-SVN: r222114
gcc/ChangeLog
gcc/config/rl78/rl78.c
gcc/config/rl78/rl78.md