- some flags HAVE_... saying which simple standard instructions are
available for this machine.
- Copyright (C) 1987, 1991 Free Software Foundation, Inc.
+ Copyright (C) 1987, 1991, 1995 Free Software Foundation, Inc.
This file is part of GNU CC.
You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA. */
#include <stdio.h>
-#include "config.h"
+#include "hconfig.h"
#include "rtl.h"
#include "obstack.h"
static int max_id_len;
/* Count the number of match_operand's found. */
+
static int
num_operands (x)
rtx x;
}
/* Print out prototype information for a function. */
+
static void
gen_proto (insn)
rtx insn;
}
/* Print out a function declaration without a prototype. */
+
static void
gen_nonproto (insn)
rtx insn;
struct obstack *obstack_ptr;
int len;
- /* Don't mention instructions whose names are the null string.
- They are in the machine description just to be recognized. */
- len = strlen (name);
- if (len == 0)
+ /* Don't mention instructions whose names are the null string
+ or begin with '*'. They are in the machine description just
+ to be recognized. */
+ if (name[0] == 0 || name[0] == '*')
return;
+ len = strlen (name);
+
if (len > max_id_len)
max_id_len = len;
}
/* Print out the prototypes now. */
- dummy = (rtx)0;
+ dummy = (rtx) 0;
obstack_grow (&call_obstack, &dummy, sizeof (rtx));
call_insns = (rtx *) obstack_finish (&call_obstack);