This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch] Traditional to ISO C90 conversion for i860
- From: Jason Eckhardt <jle at owlnet dot rice dot edu>
- To: <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 10 Aug 2003 18:21:48 -0500 (CDT)
- Subject: [Patch] Traditional to ISO C90 conversion for i860
2003-08-10 Jason Eckhardt <jle@rice.edu>
* config/i860/i860.c: Replace all occurrences of 'GNU CC' with 'GCC'.
Remove all uses of the PARAMS macro. Remove superflous prototypes.
Convert all function definitions from traditional to ISO C90 syntax.
* config/i860/i860-protos.h: Replace all occurrences of 'GNU CC'
with 'GCC'. Remove all uses of the PARAMS macro.
* config/i860/i860.h: Replace all occurrences of 'GNU CC' with 'GCC'.
* config/i860/i860.md: Likewise.
* config/i860/sysv4.h: Likewise.
* config/i860/varargs.asm: Likewise.
Index: i860-protos.h
===================================================================
RCS file: /home/localcvs/gcc/gcc/config/i860/i860-protos.h,v
retrieving revision 1.2
diff -c -3 -p -r1.2 i860-protos.h
*** i860-protos.h 2003/08/10 22:19:35 1.2
--- i860-protos.h 2003/08/10 22:53:39
***************
*** 3,22 ****
Hacked substantially by Ron Guilmette (rfg@monkeys.com) to cater to
the whims of the System V Release 4 assembler.
! This file is part of GNU CC.
! GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
! GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
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, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
--- 3,22 ----
Hacked substantially by Ron Guilmette (rfg@monkeys.com) to cater to
the whims of the System V Release 4 assembler.
! This file is part of GCC.
! GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
! GCC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
! along with GCC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
*************** Boston, MA 02111-1307, USA. */
*** 24,63 ****
insn-output.c. */
#ifdef RTX_CODE
! extern unsigned long sfmode_constant_to_ulong PARAMS ((rtx));
! extern const char *output_load PARAMS ((rtx *));
! extern const char *output_store PARAMS ((rtx *));
! extern const char *output_move_double PARAMS ((rtx *));
! extern const char *output_fp_move_double PARAMS ((rtx *));
! extern const char *output_block_move PARAMS ((rtx *));
! extern const char *output_delay_insn PARAMS ((rtx));
#if 0
! extern const char *output_delayed_branch PARAMS ((const char *, rtx *, rtx));
#endif
! extern void output_load_address PARAMS ((rtx *));
! extern int safe_insn_src_p PARAMS ((rtx, enum machine_mode));
! extern int operand_clobbered_before_used_after PARAMS ((rtx, rtx));
! extern int single_insn_src_p PARAMS ((rtx, enum machine_mode));
! extern int reg_or_0_operand PARAMS ((rtx, enum machine_mode));
! extern int arith_operand PARAMS ((rtx, enum machine_mode));
! extern int logic_operand PARAMS ((rtx, enum machine_mode));
! extern int shift_operand PARAMS ((rtx, enum machine_mode));
! extern int compare_operand PARAMS ((rtx, enum machine_mode));
! extern int bte_operand PARAMS ((rtx, enum machine_mode));
! extern int indexed_operand PARAMS ((rtx, enum machine_mode));
! extern int load_operand PARAMS ((rtx, enum machine_mode));
! extern int small_int PARAMS ((rtx, enum machine_mode));
! extern int logic_int PARAMS ((rtx, enum machine_mode));
! extern int call_insn_operand PARAMS ((rtx, enum machine_mode));
! extern rtx i860_saveregs PARAMS ((void));
#ifdef TREE_CODE
! extern void i860_va_start PARAMS ((tree, rtx));
! extern rtx i860_va_arg PARAMS ((tree, tree));
#endif /* TREE_CODE */
#endif /* RTX_CODE */
#ifdef TREE_CODE
! extern tree i860_build_va_list PARAMS ((void));
#endif /* TREE_CODE */
extern void tdesc_section (void);
--- 24,63 ----
insn-output.c. */
#ifdef RTX_CODE
! extern unsigned long sfmode_constant_to_ulong (rtx);
! extern const char *output_load (rtx *);
! extern const char *output_store (rtx *);
! extern const char *output_move_double (rtx *);
! extern const char *output_fp_move_double (rtx *);
! extern const char *output_block_move (rtx *);
! extern const char *output_delay_insn (rtx);
#if 0
! extern const char *output_delayed_branch (const char *, rtx *, rtx);
#endif
! extern void output_load_address (rtx *);
! extern int safe_insn_src_p (rtx, enum machine_mode);
! extern int operand_clobbered_before_used_after (rtx, rtx);
! extern int single_insn_src_p (rtx, enum machine_mode);
! extern int reg_or_0_operand (rtx, enum machine_mode);
! extern int arith_operand (rtx, enum machine_mode);
! extern int logic_operand (rtx, enum machine_mode);
! extern int shift_operand (rtx, enum machine_mode);
! extern int compare_operand (rtx, enum machine_mode);
! extern int bte_operand (rtx, enum machine_mode);
! extern int indexed_operand (rtx, enum machine_mode);
! extern int load_operand (rtx, enum machine_mode);
! extern int small_int (rtx, enum machine_mode);
! extern int logic_int (rtx, enum machine_mode);
! extern int call_insn_operand (rtx, enum machine_mode);
! extern rtx i860_saveregs (void);
#ifdef TREE_CODE
! extern void i860_va_start (tree, rtx);
! extern rtx i860_va_arg (tree, tree);
#endif /* TREE_CODE */
#endif /* RTX_CODE */
#ifdef TREE_CODE
! extern tree i860_build_va_list (void);
#endif /* TREE_CODE */
extern void tdesc_section (void);
Index: i860.c
===================================================================
RCS file: /home/localcvs/gcc/gcc/config/i860/i860.c,v
retrieving revision 1.2
diff -c -3 -p -r1.2 i860.c
*** i860.c 2003/08/10 22:19:35 1.2
--- i860.c 2003/08/10 23:24:02
***************
*** 8,27 ****
Hacked substantially by Ron Guilmette (rfg@netcom.com) to cater
to the whims of the System V Release 4 assembler.
! This file is part of GNU CC.
! GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
! GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
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, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
--- 8,27 ----
Hacked substantially by Ron Guilmette (rfg@netcom.com) to cater
to the whims of the System V Release 4 assembler.
! This file is part of GCC.
! GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
! GCC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
! along with GCC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
*************** Boston, MA 02111-1307, USA. */
*** 48,61 ****
#include "target.h"
#include "target-def.h"
! static rtx find_addr_reg PARAMS ((rtx));
! static int reg_clobbered_p PARAMS ((rtx, rtx));
! static const char *singlemove_string PARAMS ((rtx *));
! static const char *load_opcode PARAMS ((enum machine_mode, const char *, rtx));
! static const char *store_opcode PARAMS ((enum machine_mode, const char *, rtx));
! static void output_size_for_block_move PARAMS ((rtx, rtx, rtx));
! static void i860_output_function_prologue PARAMS ((FILE *, HOST_WIDE_INT));
! static void i860_output_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT));
#ifndef I860_REG_PREFIX
#define I860_REG_PREFIX ""
--- 48,54 ----
#include "target.h"
#include "target-def.h"
! static rtx find_addr_reg (rtx);
#ifndef I860_REG_PREFIX
#define I860_REG_PREFIX ""
*************** rtx i860_compare_op0, i860_compare_op1;
*** 70,78 ****
/* Return non-zero if this pattern, can be evaluated safely, even if it
was not asked for. */
int
! safe_insn_src_p (op, mode)
! rtx op;
! enum machine_mode mode;
{
/* Just experimenting. */
--- 63,69 ----
/* Return non-zero if this pattern, can be evaluated safely, even if it
was not asked for. */
int
! safe_insn_src_p (rtx op, enum machine_mode mode)
{
/* Just experimenting. */
*************** safe_insn_src_p (op, mode)
*** 134,142 ****
Return 0 if neither. */
static int
! reg_clobbered_p (reg, in)
! rtx reg;
! rtx in;
{
register enum rtx_code code;
--- 125,131 ----
Return 0 if neither. */
static int
! reg_clobbered_p (rtx reg, rtx in)
{
register enum rtx_code code;
*************** reg_clobbered_p (reg, in)
*** 202,210 ****
appears in the dest position of a SET insn in a conditional
branch's delay slot. AFTER is the label to start looking from. */
int
! operand_clobbered_before_used_after (op, after)
! rtx op;
! rtx after;
{
/* Just experimenting. */
if (GET_CODE (op) == CC0)
--- 191,197 ----
appears in the dest position of a SET insn in a conditional
branch's delay slot. AFTER is the label to start looking from. */
int
! operand_clobbered_before_used_after (rtx op, rtx after)
{
/* Just experimenting. */
if (GET_CODE (op) == CC0)
*************** operand_clobbered_before_used_after (op,
*** 270,278 ****
/* Return non-zero if this pattern, as a source to a "SET",
is known to yield an instruction of unit size. */
int
! single_insn_src_p (op, mode)
! rtx op;
! enum machine_mode mode;
{
switch (GET_CODE (op))
{
--- 257,263 ----
/* Return non-zero if this pattern, as a source to a "SET",
is known to yield an instruction of unit size. */
int
! single_insn_src_p (rtx op, enum machine_mode mode)
{
switch (GET_CODE (op))
{
*************** single_insn_src_p (op, mode)
*** 369,377 ****
/* Return non-zero only if OP is a register of mode MODE,
or const0_rtx. */
int
! reg_or_0_operand (op, mode)
! rtx op;
! enum machine_mode mode;
{
return (op == const0_rtx || register_operand (op, mode)
|| op == CONST0_RTX (mode));
--- 354,360 ----
/* Return non-zero only if OP is a register of mode MODE,
or const0_rtx. */
int
! reg_or_0_operand (rtx op, enum machine_mode mode)
{
return (op == const0_rtx || register_operand (op, mode)
|| op == CONST0_RTX (mode));
*************** reg_or_0_operand (op, mode)
*** 381,389 ****
address add/subtract insn (such as add %o1,7,%l2) of mode MODE. */
int
! arith_operand (op, mode)
! rtx op;
! enum machine_mode mode;
{
return (register_operand (op, mode)
|| (GET_CODE (op) == CONST_INT && SMALL_INT (op)));
--- 364,370 ----
address add/subtract insn (such as add %o1,7,%l2) of mode MODE. */
int
! arith_operand (rtx op, enum machine_mode mode)
{
return (register_operand (op, mode)
|| (GET_CODE (op) == CONST_INT && SMALL_INT (op)));
*************** arith_operand (op, mode)
*** 392,400 ****
/* Return 1 if OP is a valid first operand for a logical insn of mode MODE. */
int
! logic_operand (op, mode)
! rtx op;
! enum machine_mode mode;
{
return (register_operand (op, mode)
|| (GET_CODE (op) == CONST_INT && LOGIC_INT (op)));
--- 373,379 ----
/* Return 1 if OP is a valid first operand for a logical insn of mode MODE. */
int
! logic_operand (rtx op, enum machine_mode mode)
{
return (register_operand (op, mode)
|| (GET_CODE (op) == CONST_INT && LOGIC_INT (op)));
*************** logic_operand (op, mode)
*** 403,411 ****
/* Return 1 if OP is a valid first operand for a shift insn of mode MODE. */
int
! shift_operand (op, mode)
! rtx op;
! enum machine_mode mode;
{
return (register_operand (op, mode)
|| (GET_CODE (op) == CONST_INT));
--- 382,388 ----
/* Return 1 if OP is a valid first operand for a shift insn of mode MODE. */
int
! shift_operand (rtx op, enum machine_mode mode)
{
return (register_operand (op, mode)
|| (GET_CODE (op) == CONST_INT));
*************** shift_operand (op, mode)
*** 415,423 ****
or an add insn of mode MODE. */
int
! compare_operand (op, mode)
! rtx op;
! enum machine_mode mode;
{
return (register_operand (op, mode)
|| (GET_CODE (op) == CONST_INT && SMALL_INT (op) && LOGIC_INT (op)));
--- 392,398 ----
or an add insn of mode MODE. */
int
! compare_operand (rtx op, enum machine_mode mode)
{
return (register_operand (op, mode)
|| (GET_CODE (op) == CONST_INT && SMALL_INT (op) && LOGIC_INT (op)));
*************** compare_operand (op, mode)
*** 427,435 ****
operand of a bte or btne insn. */
int
! bte_operand (op, mode)
! rtx op;
! enum machine_mode mode;
{
return (register_operand (op, mode)
|| (GET_CODE (op) == CONST_INT
--- 402,408 ----
operand of a bte or btne insn. */
int
! bte_operand (rtx op, enum machine_mode mode)
{
return (register_operand (op, mode)
|| (GET_CODE (op) == CONST_INT
*************** bte_operand (op, mode)
*** 439,447 ****
/* Return 1 if OP is an indexed memory reference of mode MODE. */
int
! indexed_operand (op, mode)
! rtx op;
! enum machine_mode mode;
{
return (GET_CODE (op) == MEM && GET_MODE (op) == mode
&& GET_CODE (XEXP (op, 0)) == PLUS
--- 412,418 ----
/* Return 1 if OP is an indexed memory reference of mode MODE. */
int
! indexed_operand (rtx op, enum machine_mode mode)
{
return (GET_CODE (op) == MEM && GET_MODE (op) == mode
&& GET_CODE (XEXP (op, 0)) == PLUS
*************** indexed_operand (op, mode)
*** 454,462 ****
with mode MODE. */
int
! load_operand (op, mode)
! rtx op;
! enum machine_mode mode;
{
return (memory_operand (op, mode) || indexed_operand (op, mode));
}
--- 425,431 ----
with mode MODE. */
int
! load_operand (rtx op, enum machine_mode mode)
{
return (memory_operand (op, mode) || indexed_operand (op, mode));
}
*************** load_operand (op, mode)
*** 465,473 ****
range constraining immediate operands in add/subtract insns. */
int
! small_int (op, mode)
! rtx op;
! enum machine_mode mode ATTRIBUTE_UNUSED;
{
return (GET_CODE (op) == CONST_INT && SMALL_INT (op));
}
--- 434,440 ----
range constraining immediate operands in add/subtract insns. */
int
! small_int (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
{
return (GET_CODE (op) == CONST_INT && SMALL_INT (op));
}
*************** small_int (op, mode)
*** 476,484 ****
range constraining immediate operands in logic insns. */
int
! logic_int (op, mode)
! rtx op;
! enum machine_mode mode ATTRIBUTE_UNUSED;
{
return (GET_CODE (op) == CONST_INT && LOGIC_INT (op));
}
--- 443,449 ----
range constraining immediate operands in logic insns. */
int
! logic_int (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
{
return (GET_CODE (op) == CONST_INT && LOGIC_INT (op));
}
*************** logic_int (op, mode)
*** 489,497 ****
can't handle yet. */
int
! call_insn_operand (op, mode)
! rtx op;
! enum machine_mode mode ATTRIBUTE_UNUSED;
{
if (GET_CODE (op) == MEM
&& (CONSTANT_ADDRESS_P (XEXP (op, 0))
--- 454,460 ----
can't handle yet. */
int
! call_insn_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
{
if (GET_CODE (op) == MEM
&& (CONSTANT_ADDRESS_P (XEXP (op, 0))
*************** call_insn_operand (op, mode)
*** 507,514 ****
for moving operands[1] into operands[0] as a fullword. */
static const char *
! singlemove_string (operands)
! rtx *operands;
{
if (GET_CODE (operands[0]) == MEM)
{
--- 470,476 ----
for moving operands[1] into operands[0] as a fullword. */
static const char *
! singlemove_string (rtx *operands)
{
if (GET_CODE (operands[0]) == MEM)
{
*************** singlemove_string (operands)
*** 582,589 ****
with operands OPERANDS. */
const char *
! output_move_double (operands)
! rtx *operands;
{
enum { REGOP, OFFSOP, MEMOP, PUSHOP, POPOP, CNSTOP, RNDOP } optype0, optype1;
rtx latehalf[2];
--- 544,550 ----
with operands OPERANDS. */
const char *
! output_move_double (rtx *operands)
{
enum { REGOP, OFFSOP, MEMOP, PUSHOP, POPOP, CNSTOP, RNDOP } optype0, optype1;
rtx latehalf[2];
*************** output_move_double (operands)
*** 756,763 ****
}
const char *
! output_fp_move_double (operands)
! rtx *operands;
{
/* If the source operand is any sort of zero, use f0 instead. */
--- 717,723 ----
}
const char *
! output_fp_move_double (rtx *operands)
{
/* If the source operand is any sort of zero, use f0 instead. */
*************** output_fp_move_double (operands)
*** 826,833 ****
ADDR can be effectively incremented by incrementing REG. */
static rtx
! find_addr_reg (addr)
! rtx addr;
{
while (GET_CODE (addr) == PLUS)
{
--- 786,792 ----
ADDR can be effectively incremented by incrementing REG. */
static rtx
! find_addr_reg (rtx addr)
{
while (GET_CODE (addr) == PLUS)
{
*************** find_addr_reg (addr)
*** 855,864 ****
This string is in static storage. */
static const char *
! load_opcode (mode, args, reg)
! enum machine_mode mode;
! const char *args;
! rtx reg;
{
static char buf[30];
const char *opcode;
--- 814,820 ----
This string is in static storage. */
static const char *
! load_opcode (enum machine_mode mode, const char *args, rtx reg)
{
static char buf[30];
const char *opcode;
*************** load_opcode (mode, args, reg)
*** 902,911 ****
This string is in static storage. */
static const char *
! store_opcode (mode, args, reg)
! enum machine_mode mode;
! const char *args;
! rtx reg;
{
static char buf[30];
const char *opcode;
--- 858,864 ----
This string is in static storage. */
static const char *
! store_opcode (enum machine_mode mode, const char *args, rtx reg)
{
static char buf[30];
const char *opcode;
*************** store_opcode (mode, args, reg)
*** 953,960 ****
It may alter the values of operands[0] and operands[1]. */
const char *
! output_store (operands)
! rtx *operands;
{
enum machine_mode mode = GET_MODE (operands[0]);
rtx address = XEXP (operands[0], 0);
--- 906,912 ----
It may alter the values of operands[0] and operands[1]. */
const char *
! output_store (rtx *operands)
{
enum machine_mode mode = GET_MODE (operands[0]);
rtx address = XEXP (operands[0], 0);
*************** output_store (operands)
*** 994,1001 ****
It may alter the values of operands[0] and operands[1]. */
const char *
! output_load (operands)
! rtx *operands;
{
enum machine_mode mode = GET_MODE (operands[0]);
rtx address = XEXP (operands[1], 0);
--- 946,952 ----
It may alter the values of operands[0] and operands[1]. */
const char *
! output_load (rtx *operands)
{
enum machine_mode mode = GET_MODE (operands[0]);
rtx address = XEXP (operands[1], 0);
*************** output_load (operands)
*** 1041,1048 ****
All cases are handled here. */
void
! output_load_address (operands)
! rtx *operands;
{
rtx base, offset;
--- 992,998 ----
All cases are handled here. */
void
! output_load_address (rtx *operands)
{
rtx base, offset;
*************** output_load_address (operands)
*** 1113,1120 ****
right to subtract on this machine, so right now we don't.) */
static void
! output_size_for_block_move (size, reg, align)
! rtx size, reg, align;
{
rtx xoperands[3];
--- 1063,1069 ----
right to subtract on this machine, so right now we don't.) */
static void
! output_size_for_block_move (rtx size, rtx reg, rtx align)
{
rtx xoperands[3];
*************** output_size_for_block_move (size, reg, a
*** 1146,1153 ****
OPERANDS[4..6] are pseudos we can safely clobber as temps. */
const char *
! output_block_move (operands)
! rtx *operands;
{
/* A vector for our computed operands. Note that load_output_address
makes use of (and can clobber) up to the 8th element of this vector. */
--- 1095,1101 ----
OPERANDS[4..6] are pseudos we can safely clobber as temps. */
const char *
! output_block_move (rtx *operands)
{
/* A vector for our computed operands. Note that load_output_address
makes use of (and can clobber) up to the 8th element of this vector. */
*************** output_block_move (operands)
*** 1367,1376 ****
the code to use the DBR pass. */
const char *
! output_delayed_branch (template, operands, insn)
! const char *template;
! rtx *operands;
! rtx insn;
{
rtx src = XVECEXP (PATTERN (insn), 0, 1);
rtx dest = XVECEXP (PATTERN (insn), 0, 0);
--- 1315,1321 ----
the code to use the DBR pass. */
const char *
! output_delayed_branch (const char *template, rtx *operands, rtx insn)
{
rtx src = XVECEXP (PATTERN (insn), 0, 1);
rtx dest = XVECEXP (PATTERN (insn), 0, 0);
*************** output_delayed_branch (template, operand
*** 1481,1488 ****
/* Output a newly constructed insn DELAY_INSN. */
const char *
! output_delay_insn (delay_insn)
! rtx delay_insn;
{
const char *template;
int insn_code_number;
--- 1426,1432 ----
/* Output a newly constructed insn DELAY_INSN. */
const char *
! output_delay_insn (rtx delay_insn)
{
const char *template;
int insn_code_number;
*************** output_delay_insn (delay_insn)
*** 1540,1547 ****
grok floating literals in instruction operand contexts. */
unsigned long
! sfmode_constant_to_ulong (x)
! rtx x;
{
REAL_VALUE_TYPE d;
unsigned long l;
--- 1484,1490 ----
grok floating literals in instruction operand contexts. */
unsigned long
! sfmode_constant_to_ulong (rtx x)
{
REAL_VALUE_TYPE d;
unsigned long l;
*************** static int must_preserve_r1;
*** 1659,1667 ****
static unsigned must_preserve_bytes;
static void
! i860_output_function_prologue (asm_file, local_bytes)
! register FILE *asm_file;
! register HOST_WIDE_INT local_bytes;
{
register HOST_WIDE_INT frame_lower_bytes;
register HOST_WIDE_INT frame_upper_bytes;
--- 1602,1608 ----
static unsigned must_preserve_bytes;
static void
! i860_output_function_prologue (FILE *asm_file, HOST_WIDE_INT local_bytes)
{
register HOST_WIDE_INT frame_lower_bytes;
register HOST_WIDE_INT frame_upper_bytes;
*************** typedef struct TDESC {
*** 1980,1988 ****
} TDESC;
static void
! i860_output_function_epilogue (asm_file, local_bytes)
! register FILE *asm_file;
! register HOST_WIDE_INT local_bytes;
{
register HOST_WIDE_INT frame_upper_bytes;
register HOST_WIDE_INT frame_lower_bytes;
--- 1921,1927 ----
} TDESC;
static void
! i860_output_function_epilogue (FILE *asm_file, HOST_WIDE_INT local_bytes)
{
register HOST_WIDE_INT frame_upper_bytes;
register HOST_WIDE_INT frame_lower_bytes;
*************** i860_output_function_epilogue (asm_file,
*** 2111,2117 ****
/* Expand a library call to __builtin_saveregs. */
rtx
! i860_saveregs ()
{
rtx fn = gen_rtx_SYMBOL_REF (Pmode, "__builtin_saveregs");
rtx save = gen_reg_rtx (Pmode);
--- 2050,2056 ----
/* Expand a library call to __builtin_saveregs. */
rtx
! i860_saveregs (void)
{
rtx fn = gen_rtx_SYMBOL_REF (Pmode, "__builtin_saveregs");
rtx save = gen_reg_rtx (Pmode);
*************** i860_saveregs ()
*** 2130,2136 ****
}
tree
! i860_build_va_list ()
{
tree field_ireg_used, field_freg_used, field_reg_base, field_mem_ptr;
tree record;
--- 2069,2075 ----
}
tree
! i860_build_va_list (void)
{
tree field_ireg_used, field_freg_used, field_reg_base, field_mem_ptr;
tree record;
*************** i860_va_start (tree valist, rtx nextarg)
*** 2242,2249 ****
#endif
rtx
! i860_va_arg (valist, type)
! tree valist, type;
{
tree field_ireg_used, field_freg_used, field_reg_base, field_mem_ptr;
tree type_ptr_node, t;
--- 2181,2187 ----
#endif
rtx
! i860_va_arg (tree valist, tree type)
{
tree field_ireg_used, field_freg_used, field_reg_base, field_mem_ptr;
tree type_ptr_node, t;
Index: i860.h
===================================================================
RCS file: /home/localcvs/gcc/gcc/config/i860/i860.h,v
retrieving revision 1.2
diff -c -3 -p -r1.2 i860.h
*** i860.h 2003/08/10 22:19:35 1.2
--- i860.h 2003/08/10 22:37:37
***************
*** 4,23 ****
Hacked substantially by Ron Guilmette (rfg@monkeys.com) to cater to
the whims of the System V Release 4 assembler.
! This file is part of GNU CC.
! GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
! GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
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, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
--- 4,23 ----
Hacked substantially by Ron Guilmette (rfg@monkeys.com) to cater to
the whims of the System V Release 4 assembler.
! This file is part of GCC.
! GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
! GCC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
! along with GCC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
Index: i860.md
===================================================================
RCS file: /home/localcvs/gcc/gcc/config/i860/i860.md,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 i860.md
*** i860.md 2003/08/10 21:27:29 1.1.1.1
--- i860.md 2003/08/10 23:12:38
***************
*** 1,21 ****
;;- Machine description for Intel 860 chip for GNU C compiler
! ;; Copyright (C) 1989, 1990, 1997, 1998, 1999, 2000
;; Free Software Foundation, Inc.
! ;; This file is part of GNU CC.
! ;; GNU CC is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.
! ;; GNU CC is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; 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, 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.
--- 1,21 ----
;;- Machine description for Intel 860 chip for GNU C compiler
! ;; Copyright (C) 1989, 1990, 1997, 1998, 1999, 2000, 2003
;; Free Software Foundation, Inc.
! ;; This file is part of GCC.
! ;; GCC is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.
! ;; GCC is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
! ;; along with GCC; see the file COPYING. If not, write to
;; the Free Software Foundation, 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.
Index: sysv4.h
===================================================================
RCS file: /home/localcvs/gcc/gcc/config/i860/sysv4.h,v
retrieving revision 1.2
diff -c -3 -p -r1.2 sysv4.h
*** sysv4.h 2003/08/10 22:19:35 1.2
--- sysv4.h 2003/08/10 22:54:13
***************
*** 2,21 ****
Copyright (C) 1991, 1996, 2000, 2002, 2003 Free Software Foundation, Inc.
Contributed by Ron Guilmette (rfg@monkeys.com).
! This file is part of GNU CC.
! GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
! GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
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, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
--- 2,21 ----
Copyright (C) 1991, 1996, 2000, 2002, 2003 Free Software Foundation, Inc.
Contributed by Ron Guilmette (rfg@monkeys.com).
! This file is part of GCC.
! GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
! GCC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
! along with GCC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
Index: varargs.asm
===================================================================
RCS file: /home/localcvs/gcc/gcc/config/i860/varargs.asm,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 varargs.asm
*** varargs.asm 2003/08/10 21:27:29 1.1.1.1
--- varargs.asm 2003/08/10 22:54:44
***************
*** 1,9 ****
/* Special varargs support for i860.
! Copyright (C) 2001 Free Software Foundation, Inc.
! This file is part of GNU CC.
! GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
--- 1,9 ----
/* Special varargs support for i860.
! Copyright (C) 2001, 2003 Free Software Foundation, Inc.
! This file is part of GCC.
! GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
*************** do apply in other respects; for example,
*** 17,29 ****
the file, and distribution when not linked into a combine
executable.)
! GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
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, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
--- 17,29 ----
the file, and distribution when not linked into a combine
executable.)
! GCC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
! along with GCC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */