From 16c484c7d50937a4a50b98244817ae6d96a9f55a Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 8 Jan 2002 22:51:46 +0000 Subject: [PATCH] tm.texi (EASY_DIV_EXPR, [...]): Remove documentation of obsolete macros. * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR, LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove documentation of obsolete macros. * system.h: Poison these macros. * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h, config/arc/arc.h, config/arm/arm.h, config/avr/avr.h, config/c4x/c4x.h, config/clipper/clipper.h, config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h, config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h, config/i860/i860.h, config/i960/i960.h, config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h, config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h, config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h, config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h, config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h, config/sparc/sparc.h, config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove definitions and commented out definitions of obsolete macros. * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms of MAX_INT_TYPE_SIZE. From-SVN: r48665 --- gcc/ChangeLog | 25 +++++++++++++++++++++++++ gcc/config/1750a/1750a.h | 8 +------- gcc/config/a29k/a29k.h | 8 +------- gcc/config/alpha/alpha.h | 8 +------- gcc/config/arc/arc.h | 8 +------- gcc/config/arm/arm.h | 8 +------- gcc/config/avr/avr.h | 11 +---------- gcc/config/c4x/c4x.h | 6 +----- gcc/config/clipper/clipper.h | 12 +----------- gcc/config/convex/convex.h | 9 ++------- gcc/config/cris/cris.h | 6 +----- gcc/config/d30v/d30v.h | 24 ------------------------ gcc/config/dsp16xx/dsp16xx.h | 6 ------ gcc/config/elxsi/elxsi.h | 8 +------- gcc/config/fr30/fr30.h | 10 +--------- gcc/config/h8300/h8300.h | 8 +------- gcc/config/i370/i370.h | 10 +--------- gcc/config/i386/i386.h | 8 -------- gcc/config/i860/i860.h | 10 ++-------- gcc/config/i960/i960.h | 8 +------- gcc/config/ia64/ia64.h | 14 +------------- gcc/config/m32r/m32r.h | 6 ------ gcc/config/m68hc11/m68hc11.h | 8 +------- gcc/config/m68k/m68k.h | 8 +------- gcc/config/m88k/m88k.h | 10 ++-------- gcc/config/mcore/mcore.h | 8 +------- gcc/config/mips/iris5.h | 4 ++-- gcc/config/mips/mips.h | 11 ++--------- gcc/config/mmix/mmix.h | 4 ---- gcc/config/mn10200/mn10200.h | 8 +------- gcc/config/mn10300/mn10300.h | 8 +------- gcc/config/ns32k/ns32k.h | 8 +------- gcc/config/pa/pa.h | 6 ------ gcc/config/pdp11/pdp11.h | 8 +------- gcc/config/pj/pj.h | 8 +------- gcc/config/romp/romp.h | 8 +------- gcc/config/rs6000/rs6000.h | 8 +------- gcc/config/s390/s390.h | 10 +--------- gcc/config/sh/sh.h | 8 +------- gcc/config/sparc/sparc.h | 8 +------- gcc/config/stormy16/stormy16.h | 24 ------------------------ gcc/config/v850/v850.h | 9 ++------- gcc/config/vax/vax.h | 12 +----------- gcc/config/we32k/we32k.h | 10 ++-------- gcc/doc/tm.texi | 30 ------------------------------ gcc/system.h | 3 ++- 46 files changed, 70 insertions(+), 380 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 99c9c0bd496..5b6b5ce1043 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,28 @@ +2002-01-08 Joseph S. Myers + + * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR, + LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove + documentation of obsolete macros. + * system.h: Poison these macros. + * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h, + config/arc/arc.h, config/arm/arm.h, config/avr/avr.h, + config/c4x/c4x.h, config/clipper/clipper.h, + config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h, + config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h, + config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h, + config/i386/i386.h, config/i860/i860.h, config/i960/i960.h, + config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h, + config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h, + config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h, + config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h, + config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h, + config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h, + config/sparc/sparc.h, config/stormy16/stormy16.h, + config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove + definitions and commented out definitions of obsolete macros. + * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms + of MAX_INT_TYPE_SIZE. + 2002-01-08 Ulrich Weigand * config/s390/s390.c (s390_preferred_reload_class): Never diff --git a/gcc/config/1750a/1750a.h b/gcc/config/1750a/1750a.h index f69f05a09e0..21d60e91a2b 100644 --- a/gcc/config/1750a/1750a.h +++ b/gcc/config/1750a/1750a.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler. Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001 Free Software Foundation, Inc. + 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by O.M.Kellogg, DASA (oliver.kellogg@space.otn.dasa.de) This file is part of GNU CC. @@ -759,12 +759,6 @@ enum reg_class { NO_REGS, R2, R0_1, INDEX_REGS, BASE_REGS, ALL_REGS, LIM_REG_CLA Do not define this if the table should contain absolute addresses. */ /* #define CASE_VECTOR_PC_RELATIVE 1 */ -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Define this as 1 if `char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 1 diff --git a/gcc/config/a29k/a29k.h b/gcc/config/a29k/a29k.h index d470cf131fb..ff80dce693b 100644 --- a/gcc/config/a29k/a29k.h +++ b/gcc/config/a29k/a29k.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, for AMD Am29000 CPU. Copyright (C) 1988, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 2000, 2001 Free Software Foundation, Inc. + 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Richard Kenner (kenner@nyu.edu) This file is part of GNU CC. @@ -1179,12 +1179,6 @@ extern const char *a29k_function_name; Do not define this if the table should contain absolute addresses. */ /* #define CASE_VECTOR_PC_RELATIVE 1 */ -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Define this as 1 if `char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 0 diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h index e2d8b3820d1..b56df5919d5 100644 --- a/gcc/config/alpha/alpha.h +++ b/gcc/config/alpha/alpha.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, for DEC Alpha. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001 Free Software Foundation, Inc. + 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu) This file is part of GNU CC. @@ -1504,12 +1504,6 @@ do { \ but we should try to find some better way sometime. */ #define CASE_VECTOR_PC_RELATIVE 1 -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Define this as 1 if `char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 1 diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h index 5188d09e81a..f29768dd722 100644 --- a/gcc/config/arc/arc.h +++ b/gcc/config/arc/arc.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler, Argonaut ARC cpu. - Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001 + Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GNU CC. @@ -1430,12 +1430,6 @@ do { if ((LOG) != 0) fprintf (FILE, "\t.align %d\n", 1 << (LOG)); } while (0) done, NIL if none. */ #define LOAD_EXTEND_OP(MODE) ZERO_EXTEND -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Max number of bytes we can move from memory to memory in one reasonably fast instruction. */ #define MOVE_MAX 4 diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 85fea19560a..2739508635e 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, for ARM. Copyright (C) 1991, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, - 2001 Free Software Foundation, Inc. + 2001, 2002 Free Software Foundation, Inc. Contributed by Pieter `Tiggr' Schoenmakers (rcpieter@win.tue.nl) and Martin Simmons (@harleqn.co.uk). More major hacks by Richard Earnshaw (rearnsha@arm.com) @@ -2356,12 +2356,6 @@ typedef struct Do not define this if the table should contain absolute addresses. */ /* #define CASE_VECTOR_PC_RELATIVE 1 */ -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* signed 'char' is most compatible, but RISC OS wants it unsigned. unsigned is probably best, but may break some code. */ #ifndef DEFAULT_SIGNED_CHAR diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h index 005936ebfea..efa47626331 100644 --- a/gcc/config/avr/avr.h +++ b/gcc/config/avr/avr.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, for ATMEL AVR at90s8515, ATmega103/103L, ATmega603/603L microcontrollers. - Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Denis Chertykov (denisc@overta.ru) This file is part of GNU CC. @@ -2570,15 +2570,6 @@ extern int avr_case_values_threshold; register. Most RISC machines have this property and most CISC machines do not. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR -/* An alias for a tree code that is the easiest kind of division to - compile code for in the general case. It may be `TRUNC_DIV_EXPR', - `FLOOR_DIV_EXPR', `CEIL_DIV_EXPR' or `ROUND_DIV_EXPR'. These four - division operators differ in how they round the result to an - integer. `EASY_DIV_EXPR' is used when it is permissible to use - any of those kinds of division and the choice should be made on - the basis of efficiency. */ - #define MOVE_MAX 4 /* The maximum number of bytes that a single instruction can move quickly between memory and registers or between two memory diff --git a/gcc/config/c4x/c4x.h b/gcc/config/c4x/c4x.h index b245714af52..cadfe0c3c0f 100644 --- a/gcc/config/c4x/c4x.h +++ b/gcc/config/c4x/c4x.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler. TMS320C[34]x Copyright (C) 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001 Free Software Foundation, Inc. + 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz) and Herman Ten Brugge (Haj.Ten.Brugge@net.HCC.nl). @@ -2103,10 +2103,6 @@ do { fprintf (asm_out_file, "\t.sdef\t"); \ "%s\t.val\t.%s\t.scl\t-1%s\t.endef\n", \ SDB_DELIM, SDB_DELIM, SDB_DELIM); } while (0) -/* This is the kind of divide that is easiest to do in the general case. */ - -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Define this as 1 if `char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 1 diff --git a/gcc/config/clipper/clipper.h b/gcc/config/clipper/clipper.h index 48671b02c3e..473cab60ed1 100644 --- a/gcc/config/clipper/clipper.h +++ b/gcc/config/clipper/clipper.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler. Clipper version. Copyright (C) 1987, 1988, 1991, 1993, 1994, 1995, 1996, 1998, - 1999, 2000 Free Software Foundation, Inc. + 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Holger Teutsch (holger@hotbso.rhein-main.de) This file is part of GNU CC. @@ -338,10 +338,6 @@ enum reg_class { NO_REGS, GENERAL_REGS, FLOAT_REGS, ALL_REGS, LIM_REG_CLASSES}; makes the stack pointer a smaller address. */ #define STACK_GROWS_DOWNWARD -/* Define this if longjmp restores from saved registers - rather than from what setjmp saved. */ -/* #define LONGJMP_RESTORE_FROM_STACK */ - /* Define this if the nominal address of the stack frame is at the high-address end of the local variables; that is, each additional local variable allocated @@ -780,12 +776,6 @@ do \ done, NIL if none. */ #define LOAD_EXTEND_OP(MODE) SIGN_EXTEND -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Define this as 1 if `char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 1 diff --git a/gcc/config/convex/convex.h b/gcc/config/convex/convex.h index 1b9322040e0..7f3d41c8833 100644 --- a/gcc/config/convex/convex.h +++ b/gcc/config/convex/convex.h @@ -1,5 +1,6 @@ /* Definitions of target machine for GNU compiler. Convex version. - Copyright (C) 1988, 1994, 1995, 1996, 2000 Free Software Foundation, Inc. + Copyright (C) 1988, 1994, 1995, 1996, 2000, 2001, 2002 + Free Software Foundation, Inc. This file is part of GNU CC. @@ -1019,12 +1020,6 @@ enum reg_class { jumps to the default label instead. */ /* #define CASE_DROPS_THROUGH */ -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Define this as 1 if `char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 1 diff --git a/gcc/config/cris/cris.h b/gcc/config/cris/cris.h index 493ac60d7ee..5999bfbbf5b 100644 --- a/gcc/config/cris/cris.h +++ b/gcc/config/cris/cris.h @@ -1,5 +1,5 @@ /* Definitions for GCC. Part of the machine description for CRIS. - Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Axis Communications. Written by Hans-Peter Nilsson. This file is part of GCC. @@ -1790,12 +1790,8 @@ struct cum_args {int regs;}; /* FIXME: Investigate CASE_VECTOR_SHORTEN_MODE to make sure HImode is not used when broken-.word could possibly fail (plus test-case). */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - #define FIXUNS_TRUNC_LIKE_FIX_TRUNC -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* This is the number of bytes that can be moved in one reasonably fast instruction sequence. For CRIS, this is two instructions: mem => reg, reg => mem. */ diff --git a/gcc/config/d30v/d30v.h b/gcc/config/d30v/d30v.h index 13ba36d60b0..6b9d3818560 100644 --- a/gcc/config/d30v/d30v.h +++ b/gcc/config/d30v/d30v.h @@ -887,12 +887,6 @@ do { \ If you don't define this, the default is one word. */ #define INT_TYPE_SIZE 32 -/* Maximum number for the size in bits of the type `int' on the target machine. - If this is undefined, the default is `INT_TYPE_SIZE'. Otherwise, it is the - constant value that is the largest value that `INT_TYPE_SIZE' can have at - run-time. This is used in `cpp'. */ -/* #define MAX_INT_TYPE_SIZE */ - /* A C expression for the size in bits of the type `short' on the target machine. If you don't define this, the default is half a word. (If this would be less than one storage unit, it is rounded up to one unit.) */ @@ -2157,12 +2151,6 @@ typedef struct d30v_stack { abort (); \ } -/* Define this macro if the `longjmp' function restores registers from the - stack frames, rather than from those saved specifically by `setjmp'. - Certain quantities must not be kept in registers across a call to `setjmp' - on such machines. */ -/* #define LONGJMP_RESTORE_FROM_STACK */ - /* Passing Function Arguments on the Stack */ @@ -5203,23 +5191,11 @@ fprintf (STREAM, "\t.word .L%d\n", VALUE) /* Define if loading short immediate values into registers sign extends. */ #define SHORT_IMMEDIATES_SIGN_EXTEND -/* An alias for a tree code that should be used by default for conversion of - floating point values to fixed point. Normally, `FIX_ROUND_EXPR' is used. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - /* Define this macro if the same instructions that convert a floating point number to a signed fixed point number also convert validly to an unsigned one. */ /* #define FIXUNS_TRUNC_LIKE_FIX_TRUNC */ -/* An alias for a tree code that is the easiest kind of division to compile - code for in the general case. It may be `TRUNC_DIV_EXPR', `FLOOR_DIV_EXPR', - `CEIL_DIV_EXPR' or `ROUND_DIV_EXPR'. These four division operators differ - in how they round the result to an integer. `EASY_DIV_EXPR' is used when it - is permissible to use any of those kinds of division and the choice should - be made on the basis of efficiency. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* The maximum number of bytes that a single instruction can move quickly from memory to memory. */ #define MOVE_MAX 8 diff --git a/gcc/config/dsp16xx/dsp16xx.h b/gcc/config/dsp16xx/dsp16xx.h index 10ab17d70b9..8e4873e7759 100644 --- a/gcc/config/dsp16xx/dsp16xx.h +++ b/gcc/config/dsp16xx/dsp16xx.h @@ -1889,12 +1889,6 @@ const_section () \ Do not define this if the table should contain absolute addresses. */ /* #define CASE_VECTOR_PC_RELATIVE 1 */ -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Max number of bytes we can move from memory to memory in one reasonably fast instruction. */ #define MOVE_MAX 1 diff --git a/gcc/config/elxsi/elxsi.h b/gcc/config/elxsi/elxsi.h index 04b7619048c..6ff4d3cc83b 100644 --- a/gcc/config/elxsi/elxsi.h +++ b/gcc/config/elxsi/elxsi.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler. Elxsi version. - Copyright (C) 1987, 1988, 1992, 1995, 1996, 1998, 1999, 2000 + Copyright (C) 1987, 1988, 1992, 1995, 1996, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Mike Stump in 1988. This is the first 64 bit port of GNU CC. @@ -566,12 +566,6 @@ enum reg_class { NO_REGS, GENERAL_REGS, ALL_REGS, LIM_REG_CLASSES }; Do not define this if the table should contain absolute addresses. */ /* #define CASE_VECTOR_PC_RELATIVE 1 */ -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Define this as 1 if `char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 1 diff --git a/gcc/config/fr30/fr30.h b/gcc/config/fr30/fr30.h index aad2f68ee47..760ab22d941 100644 --- a/gcc/config/fr30/fr30.h +++ b/gcc/config/fr30/fr30.h @@ -1,7 +1,7 @@ /*{{{ Comment. */ /* Definitions of FR30 target. - Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Cygnus Solutions. This file is part of GNU CC. @@ -1568,14 +1568,6 @@ fprintf (STREAM, "\t.word .L%d\n", VALUE) a jump-table should have. */ #define CASE_VECTOR_MODE SImode -/* An alias for a tree code that is the easiest kind of division to compile - code for in the general case. It may be `TRUNC_DIV_EXPR', `FLOOR_DIV_EXPR', - `CEIL_DIV_EXPR' or `ROUND_DIV_EXPR'. These four division operators differ - in how they round the result to an integer. `EASY_DIV_EXPR' is used when it - is permissible to use any of those kinds of division and the choice should - be made on the basis of efficiency. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* The maximum number of bytes that a single instruction can move quickly from memory to memory. */ #define MOVE_MAX 8 diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h index f62a61b90a1..b5affd82fce 100644 --- a/gcc/config/h8300/h8300.h +++ b/gcc/config/h8300/h8300.h @@ -1,7 +1,7 @@ /* Definitions of target machine for GNU compiler. Hitachi H8/300 version generating coff Copyright (C) 1992, 1993, 1994, 1995, 1996, 1996, 1997, 1998, 1999, - 2000, 2001 Free Software Foundation, Inc. + 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Steve Chamberlain (sac@cygnus.com), Jim Wilson (wilson@cygnus.com), and Doug Evans (dje@cygnus.com). @@ -949,12 +949,6 @@ struct cum_arg Do not define this if the table should contain absolute addresses. */ /*#define CASE_VECTOR_PC_RELATIVE 1 */ -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Define this as 1 if `char' should by default be signed; else as 0. On the H8/300, sign extension is expensive, so we'll say that chars diff --git a/gcc/config/i370/i370.h b/gcc/config/i370/i370.h index cd1695f4128..7c71b0e2077 100644 --- a/gcc/config/i370/i370.h +++ b/gcc/config/i370/i370.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler. System/370 version. - Copyright (C) 1989, 1993, 1995, 1996, 1997, 1998, 1999, 2000 + Copyright (C) 1989, 1993, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Jan Stein (jan@cd.chalmers.se). Modified for OS/390 LanguageEnvironment C by Dave Pitts (dpitts@cozx.com) @@ -861,10 +861,6 @@ enum reg_class /* #define CASE_VECTOR_PC_RELATIVE */ -/* Specify the tree operation to be used to convert reals to integers. */ - -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - /* Define this if fixuns_trunc is the same as fix_trunc. */ #define FIXUNS_TRUNC_LIKE_FIX_TRUNC @@ -873,10 +869,6 @@ enum reg_class #define DEFAULT_SIGNED_CHAR 0 -/* This is the kind of divide that is easiest to do in the general case. */ - -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Max number of bytes we can move from memory to memory in one reasonably fast instruction. */ diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 38a3f37e859..125810712c0 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -2326,14 +2326,6 @@ do { \ Do not define this if the table should contain absolute addresses. */ /* #define CASE_VECTOR_PC_RELATIVE 1 */ -/* Specify the tree operation to be used to convert reals to integers. - This should be changed to take advantage of fist --wfs ?? - */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Define this as 1 if `char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 1 diff --git a/gcc/config/i860/i860.h b/gcc/config/i860/i860.h index bffae0b8bab..ad5048c7b02 100644 --- a/gcc/config/i860/i860.h +++ b/gcc/config/i860/i860.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, for Intel 860. - Copyright (C) 1989, 1991, 1993, 1995, 1996, 1997, 1998, 1999, 2000 - Free Software Foundation, Inc. + Copyright (C) 1989, 1991, 1993, 1995, 1996, 1997, 1998, 1999, 2000, + 2001, 2002 Free Software Foundation, Inc. Hacked substantially by Ron Guilmette (rfg@monkeys.com) to cater to the whims of the System V Release 4 assembler. @@ -844,12 +844,6 @@ struct cumulative_args { int ints, floats; }; Do not define this if the table should contain absolute addresses. */ /* #define CASE_VECTOR_PC_RELATIVE 1 */ -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Must pass floats to libgcc functions as doubles. */ #define LIBGCC_NEEDS_DOUBLE 1 diff --git a/gcc/config/i960/i960.h b/gcc/config/i960/i960.h index 8acb2e48683..ec4b9d15b4b 100644 --- a/gcc/config/i960/i960.h +++ b/gcc/config/i960/i960.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler, for Intel 80960 - Copyright (C) 1992, 1993, 1995, 1996, 1998, 1999, 2000 + Copyright (C) 1992, 1993, 1995, 1996, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Steven McGeady, Intel Corp. Additional Work by Glenn Colon-Bonet, Jonathan Shapiro, Andy Wilson @@ -1170,12 +1170,6 @@ struct cum_args { int ca_nregparms; int ca_nstackparms; }; Do not define this if the table should contain absolute addresses. */ /* #define CASE_VECTOR_PC_RELATIVE 1 */ -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Define this as 1 if `char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 0 diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h index a859e50b925..d73cee7d81b 100644 --- a/gcc/config/ia64/ia64.h +++ b/gcc/config/ia64/ia64.h @@ -1,5 +1,5 @@ /* Definitions of target machine GNU compiler. IA-64 version. - Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by James E. Wilson and David Mosberger . @@ -2458,18 +2458,6 @@ do { \ #define LOAD_EXTEND_OP(MODE) ZERO_EXTEND -/* An alias for a tree code that should be used by default for conversion of - floating point values to fixed point. */ - -/* ??? Looks like this macro is obsolete and should be deleted everywhere. */ - -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* An alias for a tree code that is the easiest kind of division to compile - code for in the general case. */ - -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* The maximum number of bytes that a single instruction can move quickly from memory to memory. */ #define MOVE_MAX 8 diff --git a/gcc/config/m32r/m32r.h b/gcc/config/m32r/m32r.h index ed5796faf7b..e4554fb4bf6 100644 --- a/gcc/config/m32r/m32r.h +++ b/gcc/config/m32r/m32r.h @@ -1990,12 +1990,6 @@ extern char m32r_punct_chars[256]; done, NIL if none. */ #define LOAD_EXTEND_OP(MODE) ZERO_EXTEND -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Max number of bytes we can move from memory to memory in one reasonably fast instruction. */ #define MOVE_MAX 4 diff --git a/gcc/config/m68hc11/m68hc11.h b/gcc/config/m68hc11/m68hc11.h index deeb6a4d87f..0ef59e6b5e1 100644 --- a/gcc/config/m68hc11/m68hc11.h +++ b/gcc/config/m68hc11/m68hc11.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler. Motorola 68HC11 and 68HC12. - Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Stephane Carrez (stcarrez@worldnet.fr) This file is part of GNU CC. @@ -1690,16 +1690,10 @@ do { \ for the index in the tablejump instruction. */ #define CASE_VECTOR_MODE Pmode -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - /* This flag, if defined, says the same insns that convert to a signed fixnum also convert validly to an unsigned one. */ #define FIXUNS_TRUNC_LIKE_FIX_TRUNC -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Max number of bytes we can move from memory to memory in one reasonably fast instruction. */ #define MOVE_MAX 2 diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h index 76b10b02761..dc0835a2308 100644 --- a/gcc/config/m68k/m68k.h +++ b/gcc/config/m68k/m68k.h @@ -1,7 +1,7 @@ /* Definitions of target machine for GNU compiler. Sun 68000/68020 version. Copyright (C) 1987, 1988, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001 Free Software Foundation, Inc. + 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GNU CC. @@ -1519,12 +1519,6 @@ __transfer_from_trampoline () \ Do not define this if the table should contain absolute addresses. */ #define CASE_VECTOR_PC_RELATIVE 1 -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Define this as 1 if `char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 1 diff --git a/gcc/config/m88k/m88k.h b/gcc/config/m88k/m88k.h index 34e089c2c19..5fbad59cfde 100644 --- a/gcc/config/m88k/m88k.h +++ b/gcc/config/m88k/m88k.h @@ -1,7 +1,7 @@ /* Definitions of target machine for GNU compiler for Motorola m88100 in an 88open OCS/BCS environment. - Copyright (C) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 - Free Software Foundation, Inc. + Copyright (C) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, + 2001, 2002 Free Software Foundation, Inc. Contributed by Michael Tiemann (tiemann@cygnus.com). Currently maintained by (gcc@dg-rtp.dg.com) @@ -1473,12 +1473,6 @@ enum reg_class { NO_REGS, AP_REG, XRF_REGS, GENERAL_REGS, AGRF_REGS, win very much though. */ #define CASE_VALUES_THRESHOLD (TARGET_88100 ? 4 : 7) -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Define this as 1 if `char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 1 diff --git a/gcc/config/mcore/mcore.h b/gcc/config/mcore/mcore.h index 420124fdccb..a8555aec66a 100644 --- a/gcc/config/mcore/mcore.h +++ b/gcc/config/mcore/mcore.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, for Motorola M*CORE Processor. - Copyright (C) 1993, 1999, 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1993, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GNU CC. @@ -968,12 +968,6 @@ extern const enum reg_class reg_class_from_letter[]; Do not define this if the table should contain absolute addresses. */ /* #define CASE_VECTOR_PC_RELATIVE */ -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* 'char' is signed by default. */ #define DEFAULT_SIGNED_CHAR 0 diff --git a/gcc/config/mips/iris5.h b/gcc/config/mips/iris5.h index 2c8fd83dd74..883450b4202 100644 --- a/gcc/config/mips/iris5.h +++ b/gcc/config/mips/iris5.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler. Iris version 5. Copyright (C) 1993, 1995, 1996, 1998, 2000, - 2001 Free Software Foundation, Inc. + 2001, 2002 Free Software Foundation, Inc. This file is part of GNU CC. @@ -56,7 +56,7 @@ Boston, MA 02111-1307, USA. */ #define WCHAR_TYPE "int" #define WCHAR_TYPE_SIZE INT_TYPE_SIZE -#define MAX_WCHAR_TYPE_SIZE MAX_INT_TYPE_SIZE +#define MAX_WCHAR_TYPE_SIZE 64 #define WORD_SWITCH_TAKES_ARG(STR) \ (DEFAULT_WORD_SWITCH_TAKES_ARG (STR) \ diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 96662c5ca4d..95df8369566 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler. MIPS version. Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998 - 1999, 2000, 2001 Free Software Foundation, Inc. + 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by A. Lichnewsky (lich@inria.inria.fr). Changed by Michael Meissner (meissner@osf.org). 64 bit r4000 support by Ian Lance Taylor (ian@cygnus.com) and @@ -1478,12 +1478,11 @@ do { \ target machine. If you don't define this, the default is one word. */ #define INT_TYPE_SIZE (TARGET_INT64 ? 64 : 32) -#define MAX_INT_TYPE_SIZE 64 /* Tell the preprocessor the maximum size of wchar_t. */ #ifndef MAX_WCHAR_TYPE_SIZE #ifndef WCHAR_TYPE_SIZE -#define MAX_WCHAR_TYPE_SIZE MAX_INT_TYPE_SIZE +#define MAX_WCHAR_TYPE_SIZE 64 #endif #endif @@ -3342,12 +3341,6 @@ while (0) Do not define this if the table should contain absolute addresses. */ #define CASE_VECTOR_PC_RELATIVE (TARGET_MIPS16) -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Define this as 1 if `char' should by default be signed; else as 0. */ #ifndef DEFAULT_SIGNED_CHAR #define DEFAULT_SIGNED_CHAR 1 diff --git a/gcc/config/mmix/mmix.h b/gcc/config/mmix/mmix.h index 32fa0e9300a..65604c4482c 100644 --- a/gcc/config/mmix/mmix.h +++ b/gcc/config/mmix/mmix.h @@ -1201,10 +1201,6 @@ const_section () \ than "unsigned int", and we have signed characters. FIXME: measure. */ #define LOAD_EXTEND_OP(MODE) (TARGET_ZERO_EXTEND ? ZERO_EXTEND : SIGN_EXTEND) -/* Whatever. I don't really know. This has worked before. It's also - what everybody else is using. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - #define MOVE_MAX 8 #define TRULY_NOOP_TRUNCATION(OUTPREC, INPREC) 1 diff --git a/gcc/config/mn10200/mn10200.h b/gcc/config/mn10200/mn10200.h index 261ae4611be..f9b2d30a3b5 100644 --- a/gcc/config/mn10200/mn10200.h +++ b/gcc/config/mn10200/mn10200.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler. Matsushita MN10200 series - Copyright (C) 1997, 1998, 1999, 2000, 2001 + Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Jeff Law (law@cygnus.com). @@ -949,16 +949,10 @@ struct cum_arg { int nbytes; }; fast and more compact code. */ #define LOAD_EXTEND_OP(MODE) ZERO_EXTEND -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - /* This flag, if defined, says the same insns that convert to a signed fixnum also convert validly to an unsigned one. */ #define FIXUNS_TRUNC_LIKE_FIX_TRUNC -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Max number of bytes we can move from memory to memory in one reasonably fast instruction. */ #define MOVE_MAX 2 diff --git a/gcc/config/mn10300/mn10300.h b/gcc/config/mn10300/mn10300.h index 9297b812533..ddd872e9cd5 100644 --- a/gcc/config/mn10300/mn10300.h +++ b/gcc/config/mn10300/mn10300.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler. Matsushita MN10300 series - Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 + Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Jeff Law (law@cygnus.com). @@ -1036,16 +1036,10 @@ struct cum_arg {int nbytes; }; #define LOAD_EXTEND_OP(MODE) ZERO_EXTEND -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - /* This flag, if defined, says the same insns that convert to a signed fixnum also convert validly to an unsigned one. */ #define FIXUNS_TRUNC_LIKE_FIX_TRUNC -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Max number of bytes we can move from memory to memory in one reasonably fast instruction. */ #define MOVE_MAX 4 diff --git a/gcc/config/ns32k/ns32k.h b/gcc/config/ns32k/ns32k.h index 62be8cb2f71..40dc12c3461 100644 --- a/gcc/config/ns32k/ns32k.h +++ b/gcc/config/ns32k/ns32k.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler. NS32000 version. Copyright (C) 1988, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, - 2001 Free Software Foundation, Inc. + 2001, 2002 Free Software Foundation, Inc. Contributed by Michael Tiemann (tiemann@cygnus.com) This file is part of GNU CC. @@ -1103,12 +1103,6 @@ while (0) Do not define this if the table should contain absolute addresses. */ #define CASE_VECTOR_PC_RELATIVE 1 -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Define this as 1 if `char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 1 diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index f948c09b3dc..d12a92784d8 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -1516,12 +1516,6 @@ while (0) /* Jump tables must be 32 bit aligned, no matter the size of the element. */ #define ADDR_VEC_ALIGN(ADDR_VEC) 2 -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Define this as 1 if `char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 1 diff --git a/gcc/config/pdp11/pdp11.h b/gcc/config/pdp11/pdp11.h index 53b157180a0..e2833c7c374 100644 --- a/gcc/config/pdp11/pdp11.h +++ b/gcc/config/pdp11/pdp11.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler, for the pdp-11 - Copyright (C) 1994, 1995, 1996, 1998, 1999, 2000, 2001 + Copyright (C) 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Michael K. Gschwind (mike@vlsivie.tuwien.ac.at). @@ -879,12 +879,6 @@ extern int may_call_alloca; Do not define this if the table should contain absolute addresses. */ /* #define CASE_VECTOR_PC_RELATIVE 1 */ -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Define this as 1 if `char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 1 diff --git a/gcc/config/pj/pj.h b/gcc/config/pj/pj.h index 49db122e373..f56564df207 100644 --- a/gcc/config/pj/pj.h +++ b/gcc/config/pj/pj.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler for picoJava - Copyright (C) 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GNU CC. @@ -892,12 +892,6 @@ struct pj_args #define CASE_VECTOR_PC_RELATIVE 1 -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* 'char' is signed by default. */ #define DEFAULT_SIGNED_CHAR 1 diff --git a/gcc/config/romp/romp.h b/gcc/config/romp/romp.h index 76cdc86d834..23c73e72f19 100644 --- a/gcc/config/romp/romp.h +++ b/gcc/config/romp/romp.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler, for ROMP chip. - Copyright (C) 1989, 1991, 1993, 1995, 1996, 1998, 1999, 2000, 2001 + Copyright (C) 1989, 1991, 1993, 1995, 1996, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Richard Kenner (kenner@nyu.edu) @@ -1095,12 +1095,6 @@ struct rt_cargs {int gregs, fregs; }; Do not define this if the table should contain absolute addresses. */ /* #define CASE_VECTOR_PC_RELATIVE 1 */ -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Define this as 1 if `char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 0 diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 2fa90b4261c..854ab9b6062 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, for IBM RS/6000. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001 Free Software Foundation, Inc. + 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu) This file is part of GNU CC. @@ -2163,12 +2163,6 @@ do { \ Do not define this if the table should contain absolute addresses. */ #define CASE_VECTOR_PC_RELATIVE 1 -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Define this as 1 if `char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 0 diff --git a/gcc/config/s390/s390.h b/gcc/config/s390/s390.h index 99a4318f8b8..b21f4daef80 100644 --- a/gcc/config/s390/s390.h +++ b/gcc/config/s390/s390.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler, for IBM S/390 - Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Hartmut Penner (hpenner@de.ibm.com) and Ulrich Weigand (uweigand@de.ibm.com). This file is part of GNU CC. @@ -1048,10 +1048,6 @@ CUMULATIVE_ARGS; (MODE) == HImode ? SIGN_EXTEND : NIL) \ : ((MODE) == HImode ? SIGN_EXTEND : NIL)) -/* Specify the tree operation to be used to convert reals to integers. */ - -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - /* Define this if fixuns_trunc is the same as fix_trunc. */ /* #define FIXUNS_TRUNC_LIKE_FIX_TRUNC */ @@ -1060,10 +1056,6 @@ CUMULATIVE_ARGS; #define DEFAULT_SIGNED_CHAR 0 -/* This is the kind of divide that is easiest to do in the general case. */ - -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Max number of bytes we can move from memory to memory in one reasonably fast instruction. */ diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index 8ef12cb3d7c..b4b7e8ee0e9 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler for Hitachi Super-H. - Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 + Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Steve Chamberlain (sac@cygnus.com). Improved by Jim Wilson (wilson@cygnus.com). @@ -1645,12 +1645,6 @@ extern int current_function_anonymous_args; Do not define this if the table should contain absolute addresses. */ #define CASE_VECTOR_PC_RELATIVE 1 -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Since the SH3e has only `float' support, it is desirable to make all floating point types equivalent to `float'. */ #define DOUBLE_TYPE_SIZE ((TARGET_SH3E && ! TARGET_SH4) ? 32 : 64) diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 3785bad240b..bf5fc7e20d0 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, for Sun SPARC. Copyright (C) 1987, 1988, 1989, 1992, 1994, 1995, 1996, 1997, 1998, 1999 - 2000, 2001 Free Software Foundation, Inc. + 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Michael Tiemann (tiemann@cygnus.com). 64 bit SPARC V9 support by Michael Tiemann, Jim Wilson, and Doug Evans, at Cygnus Support. @@ -2396,12 +2396,6 @@ do { \ Do not define this if the table should contain absolute addresses. */ /* #define CASE_VECTOR_PC_RELATIVE 1 */ -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Define this as 1 if `char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 1 diff --git a/gcc/config/stormy16/stormy16.h b/gcc/config/stormy16/stormy16.h index 11465f7149b..bf472cc598a 100644 --- a/gcc/config/stormy16/stormy16.h +++ b/gcc/config/stormy16/stormy16.h @@ -816,12 +816,6 @@ do { \ If you don't define this, the default is one word. */ #define INT_TYPE_SIZE 16 -/* Maximum number for the size in bits of the type `int' on the target machine. - If this is undefined, the default is `INT_TYPE_SIZE'. Otherwise, it is the - constant value that is the largest value that `INT_TYPE_SIZE' can have at - run-time. This is used in `cpp'. */ -/* #define MAX_INT_TYPE_SIZE */ - /* A C expression for the size in bits of the type `short' on the target machine. If you don't define this, the default is half a word. (If this would be less than one storage unit, it is rounded up to one unit.) */ @@ -1858,12 +1852,6 @@ enum reg_class #define INITIAL_ELIMINATION_OFFSET(FROM, TO, OFFSET) \ (OFFSET) = xstormy16_initial_elimination_offset (FROM, TO) -/* Define this macro if the `longjmp' function restores registers from the - stack frames, rather than from those saved specifically by `setjmp'. - Certain quantities must not be kept in registers across a call to `setjmp' - on such machines. */ -/* #define LONGJMP_RESTORE_FROM_STACK */ - /* Passing Function Arguments on the Stack */ @@ -4735,23 +4723,11 @@ do { \ /* Define if loading short immediate values into registers sign extends. */ /* #define SHORT_IMMEDIATES_SIGN_EXTEND */ -/* An alias for a tree code that should be used by default for conversion of - floating point values to fixed point. Normally, `FIX_ROUND_EXPR' is used. */ -/* #define IMPLICIT_FIX_EXPR */ - /* Define this macro if the same instructions that convert a floating point number to a signed fixed point number also convert validly to an unsigned one. */ /* #define FIXUNS_TRUNC_LIKE_FIX_TRUNC */ -/* An alias for a tree code that is the easiest kind of division to compile - code for in the general case. It may be `TRUNC_DIV_EXPR', `FLOOR_DIV_EXPR', - `CEIL_DIV_EXPR' or `ROUND_DIV_EXPR'. These four division operators differ - in how they round the result to an integer. `EASY_DIV_EXPR' is used when it - is permissible to use any of those kinds of division and the choice should - be made on the basis of efficiency. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* The maximum number of bytes that a single instruction can move quickly from memory to memory. */ #define MOVE_MAX 2 diff --git a/gcc/config/v850/v850.h b/gcc/config/v850/v850.h index a81a6711982..64bdc205c57 100644 --- a/gcc/config/v850/v850.h +++ b/gcc/config/v850/v850.h @@ -1,5 +1,6 @@ /* Definitions of target machine for GNU compiler. NEC V850 series - Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 + Free Software Foundation, Inc. Contributed by Jeff Law (law@cygnus.com). This file is part of GNU CC. @@ -1422,16 +1423,10 @@ do { \ /* Byte and short loads sign extend the value to a word. */ #define LOAD_EXTEND_OP(MODE) SIGN_EXTEND -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - /* This flag, if defined, says the same insns that convert to a signed fixnum also convert validly to an unsigned one. */ #define FIXUNS_TRUNC_LIKE_FIX_TRUNC -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Max number of bytes we can move from memory to memory in one reasonably fast instruction. */ #define MOVE_MAX 4 diff --git a/gcc/config/vax/vax.h b/gcc/config/vax/vax.h index 8153303c115..3738affcc94 100644 --- a/gcc/config/vax/vax.h +++ b/gcc/config/vax/vax.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler. VAX version. Copyright (C) 1987, 1988, 1991, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001 Free Software Foundation, Inc. + 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GNU CC. @@ -334,10 +334,6 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES }; makes the stack pointer a smaller address. */ #define STACK_GROWS_DOWNWARD -/* Define this if longjmp restores from saved registers - rather than from what setjmp saved. */ -#define LONGJMP_RESTORE_FROM_STACK - /* Define this if the nominal address of the stack frame is at the high-address end of the local variables; that is, each additional local variable allocated @@ -802,12 +798,6 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES }; jumps to the default label instead. */ #define CASE_DROPS_THROUGH -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Define this as 1 if `char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 1 diff --git a/gcc/config/we32k/we32k.h b/gcc/config/we32k/we32k.h index 094c9c3b929..98a29b4fad1 100644 --- a/gcc/config/we32k/we32k.h +++ b/gcc/config/we32k/we32k.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler. AT&T we32000 version. - Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000 - Free Software Foundation, Inc. + Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, + 2001, 2002 Free Software Foundation, Inc. Contributed by John Wehle (john@feith1.uucp) This file is part of GNU CC. @@ -592,12 +592,6 @@ enum reg_class { NO_REGS, GENERAL_REGS, Do not define this if the table should contain absolute addresses. */ /* #define CASE_VECTOR_PC_RELATIVE 1 */ -/* Specify the tree operation to be used to convert reals to integers. */ -#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR - -/* This is the kind of divide that is easiest to do in the general case. */ -#define EASY_DIV_EXPR TRUNC_DIV_EXPR - /* Define this as 1 if `char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 0 diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index c46c10e007e..360198a845d 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -1353,13 +1353,6 @@ languages, rather than to fundamental aspects of storage layout. A C expression for the size in bits of the type @code{int} on the target machine. If you don't define this, the default is one word. -@findex MAX_INT_TYPE_SIZE -@item MAX_INT_TYPE_SIZE -Maximum number for the size in bits of the type @code{int} on the target -machine. If this is undefined, the default is @code{INT_TYPE_SIZE}. -Otherwise, it is the constant value that is the largest value that -@code{INT_TYPE_SIZE} can have at run-time. This is used in @code{cpp}. - @findex SHORT_TYPE_SIZE @item SHORT_TYPE_SIZE A C expression for the size in bits of the type @code{short} on the @@ -3122,13 +3115,6 @@ This macro is similar to @code{INITIAL_FRAME_POINTER_OFFSET}. It specifies the initial difference between the specified pair of registers. This macro must be defined if @code{ELIMINABLE_REGS} is defined. - -@findex LONGJMP_RESTORE_FROM_STACK -@item LONGJMP_RESTORE_FROM_STACK -Define this macro if the @code{longjmp} function restores registers from -the stack frames, rather than from those saved specifically by -@code{setjmp}. Certain quantities must not be kept in registers across -a call to @code{setjmp} on such machines. @end table @node Stack Arguments @@ -8093,28 +8079,12 @@ define it as the constant @code{SIGN_EXTEND} or @code{ZERO_EXTEND}. Define this macro if loading short immediate values into registers sign extends. -@findex IMPLICIT_FIX_EXPR -@item IMPLICIT_FIX_EXPR -An alias for a tree code that should be used by default for conversion -of floating point values to fixed point. Normally, -@code{FIX_ROUND_EXPR} is used. - @findex FIXUNS_TRUNC_LIKE_FIX_TRUNC @item FIXUNS_TRUNC_LIKE_FIX_TRUNC Define this macro if the same instructions that convert a floating point number to a signed fixed point number also convert validly to an unsigned one. -@findex EASY_DIV_EXPR -@item EASY_DIV_EXPR -An alias for a tree code that is the easiest kind of division to -compile code for in the general case. It may be -@code{TRUNC_DIV_EXPR}, @code{FLOOR_DIV_EXPR}, @code{CEIL_DIV_EXPR} or -@code{ROUND_DIV_EXPR}. These four division operators differ in how -they round the result to an integer. @code{EASY_DIV_EXPR} is used -when it is permissible to use any of those kinds of division and the -choice should be made on the basis of efficiency. - @findex MOVE_MAX @item MOVE_MAX The maximum number of bytes that a single instruction can move quickly diff --git a/gcc/system.h b/gcc/system.h index e8bc825db8d..a81b51f084b 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -600,7 +600,8 @@ typedef char _Bool; #pragma GCC poison INT_ASM_OP ASM_OUTPUT_EH_REGION_BEG \ ASM_OUTPUT_EH_REGION_END ASM_OUTPUT_LABELREF_AS_INT \ DOESNT_NEED_UNWINDER EH_TABLE_LOOKUP OBJC_SELECTORS_WITHOUT_LABELS \ - OMIT_EH_TABLE + OMIT_EH_TABLE EASY_DIV_EXPR IMPLICIT_FIX_EXPR \ + LONGJMP_RESTORE_FROM_STACK MAX_INT_TYPE_SIZE #endif /* IN_GCC */