wbailey@flame.oracle.com (Bill Bailey) (02/05/90)
The bug prevents gcc from using the decw and decb instructions. Here is a context diff of the fix. thx wbailey@oracle.com *** vax.md Wed Sep 6 00:44:59 1989 --- ../../gcc-1.36/config/vax.md Sun Feb 4 18:25:04 1990 *************** *** 529,536 **** { if (operands[2] == const1_rtx) return \"incw %0\"; ! if (GET_CODE (operands[1]) == CONST_INT ! && INTVAL (operands[1]) == -1) return \"decw %0\"; if (GET_CODE (operands[2]) == CONST_INT && (unsigned) (- INTVAL (operands[2])) < 64) --- 529,536 ---- { if (operands[2] == const1_rtx) return \"incw %0\"; ! if (GET_CODE (operands[2]) == CONST_INT ! && INTVAL (operands[2]) == -1) return \"decw %0\"; if (GET_CODE (operands[2]) == CONST_INT && (unsigned) (- INTVAL (operands[2])) < 64) *************** *** 556,563 **** { if (operands[2] == const1_rtx) return \"incb %0\"; ! if (GET_CODE (operands[1]) == CONST_INT ! && INTVAL (operands[1]) == -1) return \"decb %0\"; if (GET_CODE (operands[2]) == CONST_INT && (unsigned) (- INTVAL (operands[2])) < 64) --- 556,563 ---- { if (operands[2] == const1_rtx) return \"incb %0\"; ! if (GET_CODE (operands[2]) == CONST_INT ! && INTVAL (operands[2]) == -1) return \"decb %0\"; if (GET_CODE (operands[2]) == CONST_INT && (unsigned) (- INTVAL (operands[2])) < 64)