rl78-real.md (movqi_from_es): New pattern.
authorNick Clifton <nickc@redhat.com>
Fri, 21 Nov 2014 10:32:06 +0000 (10:32 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Fri, 21 Nov 2014 10:32:06 +0000 (10:32 +0000)
commit7bbf5a3df249f950e33a5d44bbeb71df4ac43493
tree71ed9f7fcece841ca0587f1bf065704f217b488f
parent1e762c6ad828137e5cd2310e7acb2a6c80be17d1
rl78-real.md (movqi_from_es): New pattern.

* config/rl78/rl78-real.md (movqi_from_es): New pattern.
* config/rl78/rl78.c (struct machine_function): Add uses_es field.
(rl78_expand_prologue): Save the ES register in interrupt handlers
that use it.
(rl78_expand_epilogue): Restore the ES register if necessary.
(rl78_start_function): Mention if the function uses the ES
register.
(rl78_lo16): Record the use of the ES register.
(transcode_memory_rtx): Likewise.

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