OSDN Git Service

* config/m32c/cond.md: Set condition flags properly throughout.
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 Mar 2006 21:53:04 +0000 (21:53 +0000)
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 Mar 2006 21:53:04 +0000 (21:53 +0000)
commit992bd98c7b2955f2b7a9a5aed9f523b15e222c86
treea80662e4b59d239f622614367ca06c2977266d84
parente413bc3974f499035f3695ef85c4f937d0d310bb
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112591 138bc75d-0d04-0410-961f-82ee72b054a4
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