recog.h (OUT_FCN): Delete.

* recog.h (OUT_FCN): Delete.

        * vax.md: Call `get_insn_template' instead of OUT_FCN.

From-SVN: r31524
This commit is contained in:
Kaveh R. Ghazi 2000-01-19 23:14:17 +00:00 committed by Kaveh Ghazi
parent dda482c1e4
commit 0bee0290f0
3 changed files with 9 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* recog.h (OUT_FCN): Delete.
* vax.md: Call `get_insn_template' instead of OUT_FCN.
2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* cppalloc.c: PROTO -> PARAMS.

View File

@ -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.

View File

@ -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. */