This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Minor PA64 patch
- To: gcc-patches at gcc dot gnu dot org
- Subject: Minor PA64 patch
- From: Jeffrey A Law <law at redhat dot com>
- Date: Mon, 11 Dec 2000 14:19:28 -0700
- Reply-To: law at redhat dot com
Some recent changes accidentally added GEU & LTU to the valid codes for
cmpib_comparison_operator for PA64. That's a mistake since the hardware can't
encode those comparisons in 64bit mode.
This patch fixes the minor problem.
Mon Dec 11 13:51:09 2000 Jeffrey A Law (law@cygnus.com)
* pa.c (cmpib_comparison_operator): Remove GEU and LTU.
* pa.h (PREDICATE_CODES, cmpib_comparison_operator): Corresponding
changes.
Index: gcc/config/pa/pa.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/config/pa/pa.c,v
retrieving revision 1.185.18.1
diff -c -3 -p -r1.185.18.1 pa.c
*** pa.c 2000/12/11 19:54:50 1.185.18.1
--- pa.c 2000/12/11 20:49:32
*************** cmpib_comparison_operator (op, mode)
*** 7189,7197 ****
|| GET_CODE (op) == GT
|| GET_CODE (op) == GTU
|| GET_CODE (op) == GE
- || GET_CODE (op) == GEU
|| GET_CODE (op) == LT
- || GET_CODE (op) == LTU
|| GET_CODE (op) == LE
|| GET_CODE (op) == LEU));
}
--- 7189,7195 ----
Index: gcc/config/pa/pa.h
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/config/pa/pa.h,v
retrieving revision 1.202.14.1
diff -c -3 -p -r1.202.14.1 pa.h
*** pa.h 2000/12/11 19:54:50 1.202.14.1
--- pa.h 2000/12/11 20:49:36
*************** while (0)
*** 2044,2049 ****
{"basereg_operand", {REG}}, \
{"div_operand", {REG, CONST_INT}}, \
{"ireg_operand", {REG}}, \
! {"cmpib_comparison_operator", {EQ, NE, LT, LTU, LE, LEU, \
! GT, GTU, GE, GEU}}, \
{"movb_comparison_operator", {EQ, NE, LT, GE}},
--- 2044,2049 ----
{"basereg_operand", {REG}}, \
{"div_operand", {REG, CONST_INT}}, \
{"ireg_operand", {REG}}, \
! {"cmpib_comparison_operator", {EQ, NE, LT, LE, LEU, \
! GT, GTU, GE}}, \
{"movb_comparison_operator", {EQ, NE, LT, GE}},