From a4a90b847aac34b2cbede88ffeef45343214d066 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Mon, 31 May 2004 23:34:26 +0200 Subject: 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/config/sparc/sparc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/config/sparc/sparc.h') diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 33c1256..3e0b1c9 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -2612,6 +2612,7 @@ do { \ {"uns_arith_operand", {SUBREG, REG, CONST_INT}}, \ {"clobbered_register", {REG}}, \ {"input_operand", {SUBREG, REG, CONST_INT, MEM, CONST}}, \ +{"compare_operand", {SUBREG, REG, ZERO_EXTRACT}}, \ {"const64_operand", {CONST_INT, CONST_DOUBLE}}, \ {"const64_high_operand", {CONST_INT, CONST_DOUBLE}}, \ {"tgd_symbolic_operand", {SYMBOL_REF}}, \ -- cgit v1.1