m68hc11.c (m68hc11_autoinc_compatible_p): New function.
authorStephane Carrez <Stephane.Carrez@worldnet.fr>
Sun, 24 Mar 2002 16:09:04 +0000 (17:09 +0100)
committerStephane Carrez <ciceron@gcc.gnu.org>
Sun, 24 Mar 2002 16:09:04 +0000 (17:09 +0100)
commit7590cfd0ca7288f014694f23aa696e55f2e1806e
tree2a9aa11e3b24957a1153d6ecabc5ce3550b07099
parent2e3d348133d3ce6bf9b3952bbe094c1e9d32c02f
m68hc11.c (m68hc11_autoinc_compatible_p): New function.

* config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function.
(m68hc11_split_move): Call it to see if the source and destination
operands use the same direction auto inc/dec mode, otherwise make the
source an offsetable operand and generate an add.

From-SVN: r51264
gcc/ChangeLog
gcc/config/m68hc11/m68hc11.c