This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
i386 PREDICATE_CODES fix
- To: patches at x86-64 dot org, rth at cygnus dot com, gcc-patches at gcc dot gnu dot org
- Subject: i386 PREDICATE_CODES fix
- From: Jan Hubicka <jh at suse dot cz>
- Date: Fri, 12 Jan 2001 18:36:10 +0100
Hi
While breaking the patch I've accidentaly left out part modifying predicate codes
accepted by fcmov_comparison_operand.
Bootstrapped and regression tested on i386 with and without -march=athlon
Pá led 12 17:39:46 CET 2001 Jan hubicka <jh@suse.cz>
* i386.h (PREDICATE_CODES): Update codes from fcmov_comparison_operand
and ix86_comparison_operator.
*** ../../../../orig/egcs/gcc/config/i386/i386.h Thu Jan 11 11:18:06 2001
--- i386.h Fri Jan 12 18:11:20 2001
*************** do { long l; \
*** 2842,2851 ****
{"nonmemory_no_elim_operand", {CONST_INT, REG, SUBREG}}, \
{"q_regs_operand", {SUBREG, REG}}, \
{"non_q_regs_operand", {SUBREG, REG}}, \
! {"fcmov_comparison_operator", {EQ, NE, LTU, GTU, LEU, GEU}}, \
{"sse_comparison_operator", {EQ, LT, LE, UNORDERED }}, \
{"ix86_comparison_operator", {EQ, NE, LE, LT, GE, GT, LEU, LTU, GEU, \
! GTU, UNORDERED, ORDERED}}, \
{"cmp_fp_expander_operand", {CONST_DOUBLE, SUBREG, REG, MEM}}, \
{"ext_register_operand", {SUBREG, REG}}, \
{"binary_fp_operator", {PLUS, MINUS, MULT, DIV}}, \
--- 2854,2866 ----
{"nonmemory_no_elim_operand", {CONST_INT, REG, SUBREG}}, \
{"q_regs_operand", {SUBREG, REG}}, \
{"non_q_regs_operand", {SUBREG, REG}}, \
! {"fcmov_comparison_operator", {EQ, NE, LTU, GTU, LEU, GEU, UNORDERED, \
! ORDERED, LT, UNLT, GT, UNGT, LE, UNLE, \
! GE, UNGE, LTGT, UNEQ}}, \
{"sse_comparison_operator", {EQ, LT, LE, UNORDERED }}, \
{"ix86_comparison_operator", {EQ, NE, LE, LT, GE, GT, LEU, LTU, GEU, \
! GTU, UNORDERED, ORDERED, UNLE, UNLT, \
! UNGE, UNGT, LTGT, UNEQ }}, \
{"cmp_fp_expander_operand", {CONST_DOUBLE, SUBREG, REG, MEM}}, \
{"ext_register_operand", {SUBREG, REG}}, \
{"binary_fp_operator", {PLUS, MINUS, MULT, DIV}}, \