sparc.c (sparc_emit_set_const32): If outputting a CONST_INT...
authorDavid S. Miller <davem@pierdol.cobaltmicro.com>
Sun, 23 Aug 1998 19:48:11 +0000 (19:48 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Sun, 23 Aug 1998 19:48:11 +0000 (12:48 -0700)
commit7164820232443f455b5b2777afc03d9ddea15a52
tree7cd12ff56963b071a2fa6e0cf4f34e13cd296776
parent7a6d97a012348a0a610e2f3d6ecb300a17975ce8
sparc.c (sparc_emit_set_const32): If outputting a CONST_INT...

* config/sparc/sparc.c (sparc_emit_set_const32): If outputting a
CONST_INT, not a symbolic reference, don't use a HIGH/LO_SUM
sequence, use SET/IOR instead so CSE can see it.
* config/sparc/sparc.md (movhi_const64_special,
movsi_const64_special): New patterns necessitated by that change.
(movhi_high): Remove.
(movhi_lo_sum): Change to match an IOR.
(movdf_insn_sp32): Test TARGET_V9 not TARGET_ARCH64.
(movdf_insn_v9only): New pattern for when V9 but not ARCH64.
(movdf_insn_sp64): Test both TARGET_V9 and TARGET_ARCH64.
(movdf splits): Allow when not V9 or when not ARCH64 and integer
registers are involved.
(snesi_zero_extend split): Remove reload_completed test.
(unnamed plus and minus zero_extend sidi splits): Add it.

From-SVN: r21919
gcc/ChangeLog
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.md