diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2000-01-19 23:14:17 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2000-01-19 23:14:17 +0000 |
commit | 0bee0290f0c83da224e78e9ef0c11a5d3aa2fc4e (patch) | |
tree | 49488967feab3008ad67e0ab7de0b261fc81826b /gcc | |
parent | dda482c1e47a4657af480ff6acd66b17a12b9c60 (diff) | |
download | gcc-0bee0290f0c83da224e78e9ef0c11a5d3aa2fc4e.zip gcc-0bee0290f0c83da224e78e9ef0c11a5d3aa2fc4e.tar.gz gcc-0bee0290f0c83da224e78e9ef0c11a5d3aa2fc4e.tar.bz2 |
recog.h (OUT_FCN): Delete.
* recog.h (OUT_FCN): Delete.
* vax.md: Call `get_insn_template' instead of OUT_FCN.
From-SVN: r31524
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/vax/vax.md | 6 | ||||
-rw-r--r-- | gcc/recog.h | 4 |
3 files changed, 9 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9c4c9b2..b5604e0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,10 @@ 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. * cpperror.c: Likewise. diff --git a/gcc/config/vax/vax.md b/gcc/config/vax/vax.md index 9097b1c..c7869ea 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 01c1d0a..a19e6a6 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. */ |