re PR rtl-optimization/5854 (initialize_uninitialized_subregs() breaks HC11/HC12...
authorJakub Jelinek <jakub@redhat.com>
Fri, 22 Mar 2002 22:24:05 +0000 (23:24 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 22 Mar 2002 22:24:05 +0000 (23:24 +0100)
commit65e6c00573077208af5011dd1bebe287ae1f2ade
tree1c8fe28d5fd37c221e1c600c933b9a83f8058156
parent44d57e3602969629e38cb1efedf94c874841ce5d
re PR rtl-optimization/5854 (initialize_uninitialized_subregs() breaks HC11/HC12 port)

PR optimization/5854
* config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0.
Shut up warnings.
(CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0.
(EXTRA_CONSTRAINT): Use S for non-push memory operand.
* config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from
const0 if scratch register was not allocated.
(m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart,
m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...)
with GEN_INT (...).
(m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs.
* config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...)
with GEN_INT (...) everywhere.  Remove constraints in define_split
patterns.
(movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't
require scratch register for setting 0 into regs/non-pushable memory.

From-SVN: r51194
gcc/ChangeLog
gcc/config/m68hc11/m68hc11.c
gcc/config/m68hc11/m68hc11.h
gcc/config/m68hc11/m68hc11.md