/* Subroutines for insn-output.c for MIL-STD-1750.
- Copyright (C) 1994 Free Software Foundation, Inc.
+ Copyright (C) 1994, 1995 Free Software Foundation, Inc.
Contributed by O.M.Kellogg, DASA (okellogg@salyko.cube.net).
This file is part of GNU CC.
#ifndef FILE
#include <stdio.h>
#endif
+#include <string.h>
#define __datalbl
#include "config.h"
char *
-movcnt_regno_adjust (rtx * op)
+movcnt_regno_adjust (op)
+ rtx *op;
{
static char outstr[40];
int cntreg = REGNO (op[2]), cntreg_1750 = REGNO (op[0]) + 1;
}
char *
-mod_regno_adjust (char *instr, rtx * op)
+mod_regno_adjust (instr, op)
+ char *instr;
+ rtx *op;
{
static char outstr[40];
char *r = (!strncmp (instr, "dvr", 3) ? "r" : "");
Check if op is a valid memory operand for 1750A arith./logic (non-move)
instructions. */
int
-memop_valid (register rtx op)
+memop_valid (op)
+ rtx op;
{
if (GET_MODE (op) != Pmode && GET_MODE (op) != VOIDmode)
return 0;
/* extra predicate for recog: */
int
-nonindirect_operand (register rtx op, enum machine_mode mode)
+nonindirect_operand (op, mode)
+ rtx op;
+ enum machine_mode mode;
{
int retval;
/* predicate for the STC instruction: */
int
-small_nonneg_const (register rtx op, enum machine_mode mode)
+small_nonneg_const (op, mode)
+ rtx op;
+ enum machine_mode mode;
{
if (GET_CODE (op) == CONST_INT && INTVAL (op) >= 0 && INTVAL (op) <= 15)
return 1;
or as a "Branch Conditional": */
int
-find_jmplbl (int labelnum)
+find_jmplbl (labelnum)
+ int labelnum;
{
int i, found = 0;
}
char *
-branch_or_jump (char *condition, int targetlabel_number)
+branch_or_jump (condition, targetlabel_number)
+ char *condition;
+ int targetlabel_number;
{
static char buf[30];
int index;
/* Definitions of target machine for GNU compiler.
- Copyright (C) 1994 Free Software Foundation, Inc.
+ Copyright (C) 1994, 1995 Free Software Foundation, Inc.
Contributed by O.M.Kellogg, DASA (okellogg@salyko.cube.net).
This file is part of GNU CC.
void const_section() \
{ \
fprintf(asm_out_file,"\tkonst\n"); \
- current_section = Konst; \
+ current_section = Konst; \
} \
- check_section(enum section sect) \
+ check_section(sect) \
+ enum section sect; \
{ \
if (current_section != sect) { \
fprintf(asm_out_file,"\t%s\n",sectname[(int)sect]); \