]> git.ipfire.org Git - thirdparty/gcc.git/commit
cond.md: Set condition flags properly throughout.
authorDJ Delorie <dj@redhat.com>
Fri, 31 Mar 2006 21:53:04 +0000 (16:53 -0500)
committerDJ Delorie <dj@gcc.gnu.org>
Fri, 31 Mar 2006 21:53:04 +0000 (16:53 -0500)
commit16659fcf3307e1d41924bd4176053f2a2643fb38
treea80662e4b59d239f622614367ca06c2977266d84
parent6b04402b9228b0d62e5dc8c3715543d19dde1e66
cond.md: Set condition flags properly throughout.

* config/m32c/cond.md: Set condition flags properly throughout.
* config/m32c/minmax.md: Likewise.
* config/m32c/prologue.md: Likewise.
* config/m32c/bitops.md: Likewise.
* config/m32c/muldiv.md: Likewise.
* config/m32c/mov.md: Likewise.
* config/m32c/addsub.md: Likewise.
* config/m32c/m32c.md: Likewise.
* config/m32c/jump.md: Likewise.
* config/m32c/shift.md: Likewise.

* config/m32c/cond.md (cmp<mode>): Call m32c_output_compare to
conditionally output the pattern for this.
* config/m32c/m32c.c (flags_needed_for_conditional): New.
(m32c_compare_redundant): New.
(m32c_output_compare): New.
* config/m32c/m32c-protos.h (m32c_output_compare): New.

* config/m32c/m32c.c (m32c_prepare_shift): Fix logic to clobber
dest, not src.  Allow other 4-byte modes.

From-SVN: r112591
13 files changed:
gcc/ChangeLog
gcc/config/m32c/addsub.md
gcc/config/m32c/bitops.md
gcc/config/m32c/cond.md
gcc/config/m32c/jump.md
gcc/config/m32c/m32c-protos.h
gcc/config/m32c/m32c.c
gcc/config/m32c/m32c.md
gcc/config/m32c/minmax.md
gcc/config/m32c/mov.md
gcc/config/m32c/muldiv.md
gcc/config/m32c/prologue.md
gcc/config/m32c/shift.md