1750a.h, [...] (POINTER_SIZE): Delete.
* 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h, dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h, ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete. * defaults.h (POINTER_SIZE): Define. * doc/tm.texi (POINTER_SIZE): Document default. From-SVN: r50634
This commit is contained in:
parent
53f3e9ca98
commit
2465bf7657
36 changed files with 17 additions and 112 deletions
|
@ -1,3 +1,13 @@
|
|||
2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h,
|
||||
dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h,
|
||||
m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h,
|
||||
ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h,
|
||||
v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete.
|
||||
* defaults.h (POINTER_SIZE): Define.
|
||||
* doc/tm.texi (POINTER_SIZE): Document default.
|
||||
|
||||
2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* mn10200.h (PTRDIFF_TYPE): Change it to a signed type.
|
||||
|
|
|
@ -96,10 +96,6 @@ extern const char *const sectname[4];
|
|||
/* Width of a word, in units (bytes). */
|
||||
#define UNITS_PER_WORD 1
|
||||
|
||||
/* Width in bits of a pointer.
|
||||
See also the macro `Pmode' defined below. */
|
||||
#define POINTER_SIZE 16
|
||||
|
||||
#define PTRDIFF_TYPE "int"
|
||||
|
||||
/* Type to use for `size_t'. If undefined, uses `long unsigned int'. */
|
||||
|
|
|
@ -168,10 +168,6 @@ extern int target_flags;
|
|||
/* Width of a word, in units (bytes). */
|
||||
#define UNITS_PER_WORD 4
|
||||
|
||||
/* Width in bits of a pointer.
|
||||
See also the macro `Pmode' defined below. */
|
||||
#define POINTER_SIZE 32
|
||||
|
||||
/* Allocation boundary (in *bits*) for storing arguments in argument list. */
|
||||
#define PARM_BOUNDARY 32
|
||||
|
||||
|
|
|
@ -209,10 +209,6 @@ if (GET_MODE_CLASS (MODE) == MODE_INT \
|
|||
/* Likewise, if the function return value is promoted. */
|
||||
#define PROMOTE_FUNCTION_RETURN
|
||||
|
||||
/* Width in bits of a pointer.
|
||||
See also the macro `Pmode' defined below. */
|
||||
#define POINTER_SIZE 32
|
||||
|
||||
/* Allocation boundary (in *bits*) for storing arguments in argument list. */
|
||||
#define PARM_BOUNDARY 32
|
||||
|
||||
|
|
|
@ -690,8 +690,6 @@ extern int arm_is_6_or_7;
|
|||
|
||||
#define UNITS_PER_WORD 4
|
||||
|
||||
#define POINTER_SIZE 32
|
||||
|
||||
#define PARM_BOUNDARY 32
|
||||
|
||||
#define STACK_BOUNDARY 32
|
||||
|
|
|
@ -340,7 +340,6 @@ extern const char *c4x_rpts_cycles_string, *c4x_cpu_version_string;
|
|||
|
||||
#define BITS_PER_UNIT 32
|
||||
#define UNITS_PER_WORD 1
|
||||
#define POINTER_SIZE 32
|
||||
#define PARM_BOUNDARY 32
|
||||
#define STACK_BOUNDARY 32
|
||||
#define FUNCTION_BOUNDARY 32
|
||||
|
|
|
@ -72,10 +72,6 @@ extern int target_flags;
|
|||
/* Width of a word, in units (bytes). */
|
||||
#define UNITS_PER_WORD 4
|
||||
|
||||
/* Width in bits of a pointer.
|
||||
See also the macro `Pmode' defined below. */
|
||||
#define POINTER_SIZE 32
|
||||
|
||||
/* Allocation boundary (in *bits*) for storing arguments in argument list. */
|
||||
#define PARM_BOUNDARY 32
|
||||
|
||||
|
|
|
@ -477,8 +477,6 @@ extern int target_flags;
|
|||
|
||||
#define UNITS_PER_WORD 4
|
||||
|
||||
#define POINTER_SIZE 32
|
||||
|
||||
/* A combination of defining PROMOTE_MODE, PROMOTE_FUNCTION_ARGS,
|
||||
PROMOTE_FOR_CALL_ONLY and *not* defining PROMOTE_PROTOTYPES gives the
|
||||
best code size and speed for gcc, ipps and products in gcc-2.7.2. */
|
||||
|
|
|
@ -163,8 +163,6 @@ extern int target_flags;
|
|||
|
||||
#define UNITS_PER_WORD 4
|
||||
|
||||
#define POINTER_SIZE 32
|
||||
|
||||
#define PROMOTE_MODE(MODE,UNSIGNEDP,TYPE) \
|
||||
do { \
|
||||
if (GET_MODE_CLASS (MODE) == MODE_INT \
|
||||
|
|
|
@ -317,10 +317,6 @@ extern int target_flags;
|
|||
/* Width of a word, in units (bytes). */
|
||||
#define UNITS_PER_WORD 1
|
||||
|
||||
/* Width in bits of a pointer.
|
||||
See also the macro `Pmode' defined below. */
|
||||
#define POINTER_SIZE 16
|
||||
|
||||
/* Allocation boundary (in *bits*) for storing pointers in memory. */
|
||||
#define POINTER_BOUNDARY 16
|
||||
|
||||
|
|
|
@ -85,8 +85,6 @@ extern int target_flags;
|
|||
|
||||
#define UNITS_PER_WORD 4
|
||||
|
||||
#define POINTER_SIZE 32
|
||||
|
||||
#define PROMOTE_MODE(MODE,UNSIGNEDP,TYPE) \
|
||||
do \
|
||||
{ \
|
||||
|
|
|
@ -201,10 +201,6 @@ extern int target_flags;
|
|||
#define UNITS_PER_WORD (TARGET_H8300H || TARGET_H8300S ? 4 : 2)
|
||||
#define MIN_UNITS_PER_WORD 2
|
||||
|
||||
/* Width in bits of a pointer.
|
||||
See also the macro `Pmode' defined below. */
|
||||
#define POINTER_SIZE (TARGET_H8300H || TARGET_H8300S ? 32 : 16)
|
||||
|
||||
#define SHORT_TYPE_SIZE 16
|
||||
#define INT_TYPE_SIZE (TARGET_INT32 ? 32 : 16)
|
||||
#define LONG_TYPE_SIZE 32
|
||||
|
|
|
@ -90,10 +90,6 @@ extern int mvs_function_name_length;
|
|||
|
||||
#define UNITS_PER_WORD 4
|
||||
|
||||
/* Width in bits of a pointer. See also the macro `Pmode' defined below. */
|
||||
|
||||
#define POINTER_SIZE 32
|
||||
|
||||
/* Allocation boundary (in *bits*) for storing pointers in memory. */
|
||||
|
||||
#define POINTER_BOUNDARY 32
|
||||
|
|
|
@ -718,10 +718,6 @@ extern int ix86_arch;
|
|||
#define UNITS_PER_WORD (TARGET_64BIT ? 8 : 4)
|
||||
#define MIN_UNITS_PER_WORD 4
|
||||
|
||||
/* Width in bits of a pointer.
|
||||
See also the macro `Pmode' defined below. */
|
||||
#define POINTER_SIZE BITS_PER_WORD
|
||||
|
||||
/* Allocation boundary (in *bits*) for storing arguments in argument list. */
|
||||
#define PARM_BOUNDARY BITS_PER_WORD
|
||||
|
||||
|
|
|
@ -85,10 +85,6 @@ extern int target_flags;
|
|||
/* Width of a word, in units (bytes). */
|
||||
#define UNITS_PER_WORD 4
|
||||
|
||||
/* Width in bits of a pointer.
|
||||
See also the macro `Pmode' defined below. */
|
||||
#define POINTER_SIZE 32
|
||||
|
||||
/* Allocation boundary (in *bits*) for storing arguments in argument list. */
|
||||
#define PARM_BOUNDARY 32
|
||||
|
||||
|
|
|
@ -399,9 +399,6 @@ extern int target_flags;
|
|||
/* Width of a word, in units (bytes). */
|
||||
#define UNITS_PER_WORD 4
|
||||
|
||||
/* Width in bits of a pointer. See also the macro `Pmode' defined below. */
|
||||
#define POINTER_SIZE 32
|
||||
|
||||
/* Width in bits of a long double. Define to 96, and let
|
||||
ROUND_TYPE_ALIGN adjust the alignment for speed. */
|
||||
#define LONG_DOUBLE_TYPE_SIZE (TARGET_LONG_DOUBLE_64 ? 64 : 96)
|
||||
|
|
|
@ -462,10 +462,6 @@ extern enum m32r_sdata m32r_sdata;
|
|||
PROMOTE_MODE. */
|
||||
/*#define PROMOTE_FUNCTION_RETURN*/
|
||||
|
||||
/* Width in bits of a pointer.
|
||||
See also the macro `Pmode' defined below. */
|
||||
#define POINTER_SIZE 32
|
||||
|
||||
/* Allocation boundary (in *bits*) for storing arguments in argument list. */
|
||||
#define PARM_BOUNDARY 32
|
||||
|
||||
|
|
|
@ -244,9 +244,6 @@ extern const struct processor_costs *m68hc11_cost;
|
|||
/* Width of a word, in units (bytes). */
|
||||
#define UNITS_PER_WORD 2
|
||||
|
||||
/* Width in bits of a pointer. See also the macro `Pmode' defined below. */
|
||||
#define POINTER_SIZE 16
|
||||
|
||||
/* Definition of size_t. This is really an unsigned short as the
|
||||
68hc11 only handles a 64K address space. */
|
||||
#define SIZE_TYPE "short unsigned int"
|
||||
|
|
|
@ -318,10 +318,6 @@ extern int target_flags;
|
|||
/* Width of a word, in units (bytes). */
|
||||
#define UNITS_PER_WORD 4
|
||||
|
||||
/* Width in bits of a pointer.
|
||||
See also the macro `Pmode' defined below. */
|
||||
#define POINTER_SIZE 32
|
||||
|
||||
/* Allocation boundary (in *bits*) for storing arguments in argument list. */
|
||||
#define PARM_BOUNDARY (TARGET_SHORT ? 16 : 32)
|
||||
|
||||
|
|
|
@ -338,10 +338,6 @@ extern int flag_pic; /* -fpic */
|
|||
/* Width of a word, in units (bytes). */
|
||||
#define UNITS_PER_WORD 4
|
||||
|
||||
/* Width in bits of a pointer.
|
||||
See also the macro `Pmode' defined below. */
|
||||
#define POINTER_SIZE 32
|
||||
|
||||
/* Allocation boundary (in *bits*) for storing arguments in argument list. */
|
||||
#define PARM_BOUNDARY 32
|
||||
|
||||
|
|
|
@ -248,10 +248,6 @@ extern const char * mcore_stack_increment_string;
|
|||
/* Width of a word, in units (bytes). */
|
||||
#define UNITS_PER_WORD 4
|
||||
|
||||
/* Width in bits of a pointer.
|
||||
See also the macro `Pmode' defined below. */
|
||||
#define POINTER_SIZE 32
|
||||
|
||||
/* A C expression for the size in bits of the type `long long' on the
|
||||
target machine. If you don't define this, the default is two
|
||||
words. */
|
||||
|
|
|
@ -254,7 +254,6 @@ extern int target_flags;
|
|||
#define WORDS_BIG_ENDIAN 1
|
||||
#define FLOAT_WORDS_BIG_ENDIAN 1
|
||||
#define UNITS_PER_WORD 8
|
||||
#define POINTER_SIZE 64
|
||||
|
||||
/* FIXME: This macro is correlated to MAX_FIXED_MODE_SIZE in that
|
||||
e.g. this macro must not be 8 (default, UNITS_PER_WORD) when
|
||||
|
|
|
@ -93,10 +93,6 @@ extern int target_flags;
|
|||
/* Width of a word, in units (bytes). */
|
||||
#define UNITS_PER_WORD 4
|
||||
|
||||
/* Width in bits of a pointer.
|
||||
See also the macro `Pmode' defined below. */
|
||||
#define POINTER_SIZE 32
|
||||
|
||||
/* Allocation boundary (in *bits*) for storing arguments in argument list. */
|
||||
#define PARM_BOUNDARY 32
|
||||
|
||||
|
|
|
@ -199,10 +199,6 @@ while (0)
|
|||
/* Width of a word, in units (bytes). */
|
||||
#define UNITS_PER_WORD 4
|
||||
|
||||
/* Width in bits of a pointer.
|
||||
See also the macro `Pmode' defined below. */
|
||||
#define POINTER_SIZE 32
|
||||
|
||||
/* Allocation boundary (in *bits*) for storing arguments in argument list. */
|
||||
#define PARM_BOUNDARY 32
|
||||
|
||||
|
|
|
@ -393,10 +393,6 @@ extern int target_flags;
|
|||
#define UNITS_PER_WORD (TARGET_64BIT ? 8 : 4)
|
||||
#define MIN_UNITS_PER_WORD 4
|
||||
|
||||
/* Width in bits of a pointer.
|
||||
See also the macro `Pmode' defined below. */
|
||||
#define POINTER_SIZE BITS_PER_WORD
|
||||
|
||||
/* Allocation boundary (in *bits*) for storing arguments in argument list. */
|
||||
#define PARM_BOUNDARY BITS_PER_WORD
|
||||
|
||||
|
|
|
@ -173,10 +173,6 @@ extern int target_flags;
|
|||
DImode or Dfmode ...*/
|
||||
#define MAX_FIXED_MODE_SIZE 64
|
||||
|
||||
/* Width in bits of a pointer.
|
||||
See also the macro `Pmode' defined below. */
|
||||
#define POINTER_SIZE 16
|
||||
|
||||
/* Allocation boundary (in *bits*) for storing pointers in memory. */
|
||||
#define POINTER_BOUNDARY 16
|
||||
|
||||
|
|
|
@ -134,10 +134,6 @@ extern int target_flags;
|
|||
/* Width of a word, in units (bytes). */
|
||||
#define UNITS_PER_WORD 4
|
||||
|
||||
/* Width in bits of a pointer.
|
||||
See also the macro `Pmode' defined below. */
|
||||
#define POINTER_SIZE 32
|
||||
|
||||
/* Allocation boundary (in *bits*) for storing arguments in argument list. */
|
||||
#define PARM_BOUNDARY 32
|
||||
|
||||
|
|
|
@ -93,10 +93,6 @@ extern int target_flags;
|
|||
/* Width of a word, in units (bytes). */
|
||||
#define UNITS_PER_WORD 4
|
||||
|
||||
/* Width in bits of a pointer.
|
||||
See also the macro `Pmode' defined below. */
|
||||
#define POINTER_SIZE 32
|
||||
|
||||
/* Allocation boundary (in *bits*) for storing arguments in argument list. */
|
||||
#define PARM_BOUNDARY 32
|
||||
|
||||
|
|
|
@ -113,10 +113,6 @@ extern int current_function_outgoing_args_size;
|
|||
#define UNITS_PER_WORD (TARGET_64BIT ? 8 : 4)
|
||||
#define MIN_UNITS_PER_WORD 4
|
||||
|
||||
/* Width in bits of a pointer. See also the macro `Pmode' defined below. */
|
||||
|
||||
#define POINTER_SIZE (TARGET_64BIT ? 64 : 32)
|
||||
|
||||
/* 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
|
||||
|
|
|
@ -91,8 +91,6 @@ extern int target_flags;
|
|||
|
||||
#define UNITS_PER_WORD 2
|
||||
|
||||
#define POINTER_SIZE 16
|
||||
|
||||
#define PROMOTE_MODE(MODE,UNSIGNEDP,TYPE) \
|
||||
do { \
|
||||
if (GET_MODE_CLASS (MODE) == MODE_INT \
|
||||
|
|
|
@ -231,10 +231,6 @@ extern struct small_memory_info small_memory[(int)SMALL_MEMORY_max];
|
|||
/* Width of a word, in units (bytes). */
|
||||
#define UNITS_PER_WORD 4
|
||||
|
||||
/* Width in bits of a pointer.
|
||||
See also the macro `Pmode' defined below. */
|
||||
#define POINTER_SIZE 32
|
||||
|
||||
/* Define this macro if it is advisable to hold scalars in registers
|
||||
in a wider mode than that declared by the program. In such cases,
|
||||
the value is constrained to be within the bounds of the declared
|
||||
|
|
|
@ -106,10 +106,6 @@ extern int target_flags;
|
|||
/* Width of a word, in units (bytes). */
|
||||
#define UNITS_PER_WORD 4
|
||||
|
||||
/* Width in bits of a pointer.
|
||||
See also the macro `Pmode' defined below. */
|
||||
#define POINTER_SIZE 32
|
||||
|
||||
/* Allocation boundary (in *bits*) for storing arguments in argument list. */
|
||||
#define PARM_BOUNDARY 32
|
||||
|
||||
|
|
|
@ -65,10 +65,6 @@ extern int target_flags;
|
|||
/* Width of a word, in units (bytes). */
|
||||
#define UNITS_PER_WORD 4
|
||||
|
||||
/* Width in bits of a pointer.
|
||||
See also the macro `Pmode' defined below. */
|
||||
#define POINTER_SIZE 32
|
||||
|
||||
/* Allocation boundary (in *bits*) for storing arguments in argument list. */
|
||||
#define PARM_BOUNDARY 32
|
||||
|
||||
|
|
|
@ -250,7 +250,6 @@ extern unsigned xtensa_current_frame_size;
|
|||
#define FLOAT_TYPE_SIZE 32
|
||||
#define DOUBLE_TYPE_SIZE 64
|
||||
#define LONG_DOUBLE_TYPE_SIZE 64
|
||||
#define POINTER_SIZE 32
|
||||
|
||||
/* Tell the preprocessor the maximum size of wchar_t. */
|
||||
#ifndef MAX_WCHAR_TYPE_SIZE
|
||||
|
|
|
@ -329,6 +329,11 @@ do { \
|
|||
#define LONG_DOUBLE_TYPE_SIZE (BITS_PER_WORD * 2)
|
||||
#endif
|
||||
|
||||
/* Width in bits of a pointer. Mind the value of the macro `Pmode'. */
|
||||
#ifndef POINTER_SIZE
|
||||
#define POINTER_SIZE BITS_PER_WORD
|
||||
#endif
|
||||
|
||||
#ifndef BUILD_VA_LIST_TYPE
|
||||
#define BUILD_VA_LIST_TYPE(X) ((X) = ptr_type_node)
|
||||
#endif
|
||||
|
|
|
@ -951,7 +951,8 @@ smallest value that @code{UNITS_PER_WORD} can have at run-time.
|
|||
@item POINTER_SIZE
|
||||
Width of a pointer, in bits. You must specify a value no wider than the
|
||||
width of @code{Pmode}. If it is not equal to the width of @code{Pmode},
|
||||
you must define @code{POINTERS_EXTEND_UNSIGNED}.
|
||||
you must define @code{POINTERS_EXTEND_UNSIGNED}. If you do not specify
|
||||
a value the default is @code{BITS_PER_WORD}.
|
||||
|
||||
@findex POINTERS_EXTEND_UNSIGNED
|
||||
@item POINTERS_EXTEND_UNSIGNED
|
||||
|
|
Loading…
Add table
Reference in a new issue