re PR target/15693 (ICE - unrecognizable insn)
authorEric Botcazou <ebotcazou@libertysurf.fr>
Mon, 31 May 2004 21:34:26 +0000 (23:34 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 31 May 2004 21:34:26 +0000 (21:34 +0000)
commita4a90b847aac34b2cbede88ffeef45343214d066
treed91d56afe424dca67642ecfc22d5d221aeaf7799
parentc8b2e872a83dd3869ffc4443201a1f3096bc3a6c
re PR target/15693 (ICE - unrecognizable insn)

PR target/15693
* config/sparc/sparc.c (compare_operand): New predicate.
* config/sparc/sparc.h (PREDICATE_CODES): Add it.
* config/sparc/sparc.md (cmpsi expander): Use it.  If the first
operand is a ZERO_EXTRACT and the second operand is not zero,
force the former to a register.
(cmpdi expander): Likewise.

From-SVN: r82500
gcc/ChangeLog
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.h
gcc/config/sparc/sparc.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/sparc-trap-1.c [new file with mode: 0644]