cris.md: Post-reload, split/generate clobberless zero source moves
authorHans-Peter Nilsson <hp@axis.com>
Mon, 27 Jan 2020 23:59:41 +0000 (00:59 +0100)
committerHans-Peter Nilsson <hp@axis.com>
Sat, 9 May 2020 01:48:52 +0000 (03:48 +0200)
commit12bdaa7d3e94cf30f8ce1750325a245175bdbee5
treef943b7fe887870eb89d3e1bf05c5b06bf0072545
parente49cee5c8dce341f688741e5b093f6b5560c8090
cris.md: Post-reload, split/generate clobberless zero source moves

A separated follow-up to the previous change: Also emit moves
from zero as not clobbering condition-codes.

(note: actually folded into the previous ChangeLog-entry)
gcc:
* config/cris/cris.md ("movsi"): For a zero-source post-reload,
generate a clobberless variant.
("*mov_fromzero<mode>_split"): New split.
("*mov_fromzero<mode>"): New insn.
gcc/ChangeLog
gcc/config/cris/cris.md