rl78.c (rl78_addsi3_internal): New function.
authorNick Clifton <nickc@redhat.com>
Tue, 28 Jul 2015 08:09:09 +0000 (08:09 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Tue, 28 Jul 2015 08:09:09 +0000 (08:09 +0000)
commitf87a37c6893dc51f4c3e6fbddfcf453bd83c9215
tree7542dd69542b0124435500e55ad966b7d4c39a2e
parent12efb1d75f459d7c69bfaededd398f9724ee67bb
rl78.c (rl78_addsi3_internal): New function.

* config/rl78/rl78.c (rl78_addsi3_internal): New function.
Optimizes the case where -mes0 is active and a constant symbolic
address is used.
* config/rl78/rl78-protos.h: Prototype the new function.
* config/rl78/rl78.md (addsi3_internal_real): Call new function.

From-SVN: r226306
gcc/ChangeLog
gcc/config/rl78/rl78-protos.h
gcc/config/rl78/rl78.c
gcc/config/rl78/rl78.md