From: Kaveh R. Ghazi Date: Wed, 19 Jan 2000 23:14:17 +0000 (+0000) Subject: recog.h (OUT_FCN): Delete. X-Git-Tag: prereleases/libstdc++-2.92~8622 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0bee0290f0c83da224e78e9ef0c11a5d3aa2fc4e;p=thirdparty%2Fgcc.git recog.h (OUT_FCN): Delete. * recog.h (OUT_FCN): Delete. * vax.md: Call `get_insn_template' instead of OUT_FCN. From-SVN: r31524 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9c4c9b2c2735..b5604e01f360 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2000-01-19 Kaveh R. Ghazi + + * recog.h (OUT_FCN): Delete. + + * vax.md: Call `get_insn_template' instead of OUT_FCN. + 2000-01-19 Kaveh R. Ghazi * cppalloc.c: PROTO -> PARAMS. diff --git a/gcc/config/vax/vax.md b/gcc/config/vax/vax.md index 9097b1cc9dac..c7869ea21093 100644 --- a/gcc/config/vax/vax.md +++ b/gcc/config/vax/vax.md @@ -688,7 +688,7 @@ output_asm_insn (pattern, low); if (!carry) /* If CARRY is 0, we don't have any carry value to worry about. */ - return OUT_FCN (CODE_FOR_addsi3) (operands, insn); + return get_insn_template (CODE_FOR_addsi3, insn); /* %0 = C + %1 + %2 */ if (!rtx_equal_p (operands[0], operands[1])) output_asm_insn ((operands[1] == const0_rtx @@ -772,7 +772,7 @@ if (low[2] == constm1_rtx) pattern = \"decl %0\"; else if (low[2] == const0_rtx) - pattern = OUT_FCN (CODE_FOR_movsi) (low, insn), carry = 0; + pattern = get_insn_template (CODE_FOR_movsi, insn), carry = 0; else pattern = \"subl3 %2,%1,%0\"; } @@ -785,7 +785,7 @@ return \"sbwc %2,%0\"; /* %0 = %2 - %1 - C */ } - return OUT_FCN (CODE_FOR_subsi3) (operands, insn); + return get_insn_template (CODE_FOR_subsi3, insn); }") ;;- Multiply instructions. diff --git a/gcc/recog.h b/gcc/recog.h index 01c1d0a7e6f0..a19e6a636a36 100644 --- a/gcc/recog.h +++ b/gcc/recog.h @@ -185,10 +185,6 @@ extern struct recog_data recog_data; Set up by preprocess_constraints. */ extern struct operand_alternative recog_op_alt[MAX_RECOG_OPERANDS][MAX_RECOG_ALTERNATIVES]; -/* Access the output function for CODE. */ - -#define OUT_FCN(CODE) (*insn_data[(int) (CODE)].outfun) - /* A table defined in insn-output.c that give information about each insn-code value. */