]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
recog.h (OUT_FCN): Delete.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Wed, 19 Jan 2000 23:14:17 +0000 (23:14 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Wed, 19 Jan 2000 23:14:17 +0000 (23:14 +0000)
        * recog.h (OUT_FCN): Delete.

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

From-SVN: r31524

gcc/ChangeLog
gcc/config/vax/vax.md
gcc/recog.h

index 9c4c9b2c273564b1687e6e43d04c66dd31157ed8..b5604e01f360bfdff31b4831d02b337439c4f4dd 100644 (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.
index 9097b1cc9dacdc329bac82bb9d74ef04dcf136ec..c7869ea2109389f74033034fd57e3b677025b8f3 100644 (file)
     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
       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\";
     }
       return \"sbwc %2,%0\";
       /* %0 = %2 - %1 - C */
     }
-  return OUT_FCN (CODE_FOR_subsi3) (operands, insn);
+  return get_insn_template (CODE_FOR_subsi3, insn);
 }")
 \f
 ;;- Multiply instructions.
index 01c1d0a7e6f0d54ff2243af736dc26ce85f2827d..a19e6a636a361c44dd0fc8a4e7af16cacdf64855 100644 (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.  */