Commit 456f6501 by Kaveh R. Ghazi Committed by Kaveh Ghazi

mips.h (BITS_PER_WORD, [...]): Remove unnecessary casts.

	* mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
	INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
	PARM_BOUNDARY): Remove unnecessary casts.

From-SVN: r33259
parent 40d6e956
2000-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
PARM_BOUNDARY): Remove unnecessary casts.
Wed Apr 19 12:02:37 MET DST 2000 Jan Hubicka <jh@suse.cz> Wed Apr 19 12:02:37 MET DST 2000 Jan Hubicka <jh@suse.cz>
* calls.c (precompute_arguments): Remove must_preallocate and * calls.c (precompute_arguments): Remove must_preallocate and
......
...@@ -1295,20 +1295,20 @@ do { \ ...@@ -1295,20 +1295,20 @@ do { \
Note that this is not necessarily the width of data type `int'; Note that this is not necessarily the width of data type `int';
if using 16-bit ints on a 68000, this would still be 32. if using 16-bit ints on a 68000, this would still be 32.
But on a machine with 16-bit registers, this would be 16. */ But on a machine with 16-bit registers, this would be 16. */
#define BITS_PER_WORD ((unsigned int) (TARGET_64BIT ? 64 : 32)) #define BITS_PER_WORD (TARGET_64BIT ? 64 : 32)
#define MAX_BITS_PER_WORD 64 #define MAX_BITS_PER_WORD 64
/* Width of a word, in units (bytes). */ /* Width of a word, in units (bytes). */
#define UNITS_PER_WORD ((unsigned int) (TARGET_64BIT ? 8 : 4)) #define UNITS_PER_WORD (TARGET_64BIT ? 8 : 4)
#define MIN_UNITS_PER_WORD 4 #define MIN_UNITS_PER_WORD 4
/* For MIPS, width of a floating point register. */ /* For MIPS, width of a floating point register. */
#define UNITS_PER_FPREG ((unsigned int) (TARGET_FLOAT64 ? 8 : 4)) #define UNITS_PER_FPREG (TARGET_FLOAT64 ? 8 : 4)
/* A C expression for the size in bits of the type `int' on the /* A C expression for the size in bits of the type `int' on the
target machine. If you don't define this, the default is one target machine. If you don't define this, the default is one
word. */ word. */
#define INT_TYPE_SIZE ((unsigned int) (TARGET_INT64 ? 64 : 32)) #define INT_TYPE_SIZE (TARGET_INT64 ? 64 : 32)
#define MAX_INT_TYPE_SIZE 64 #define MAX_INT_TYPE_SIZE 64
/* Tell the preprocessor the maximum size of wchar_t. */ /* Tell the preprocessor the maximum size of wchar_t. */
...@@ -1327,7 +1327,7 @@ do { \ ...@@ -1327,7 +1327,7 @@ do { \
/* A C expression for the size in bits of the type `long' on the /* A C expression for the size in bits of the type `long' on the
target machine. If you don't define this, the default is one target machine. If you don't define this, the default is one
word. */ word. */
#define LONG_TYPE_SIZE ((unsigned int) (TARGET_LONG64 ? 64 : 32)) #define LONG_TYPE_SIZE (TARGET_LONG64 ? 64 : 32)
#define MAX_LONG_TYPE_SIZE 64 #define MAX_LONG_TYPE_SIZE 64
/* A C expression for the size in bits of the type `long long' on the /* A C expression for the size in bits of the type `long long' on the
...@@ -1359,14 +1359,14 @@ do { \ ...@@ -1359,14 +1359,14 @@ do { \
/* Width in bits of a pointer. /* Width in bits of a pointer.
See also the macro `Pmode' defined below. */ See also the macro `Pmode' defined below. */
#ifndef POINTER_SIZE #ifndef POINTER_SIZE
#define POINTER_SIZE ((unsigned int) (Pmode == DImode ? 64 : 32)) #define POINTER_SIZE (Pmode == DImode ? 64 : 32)
#endif #endif
/* Allocation boundary (in *bits*) for storing pointers in memory. */ /* Allocation boundary (in *bits*) for storing pointers in memory. */
#define POINTER_BOUNDARY ((unsigned int) (Pmode == DImode ? 64 : 32)) #define POINTER_BOUNDARY (Pmode == DImode ? 64 : 32)
/* Allocation boundary (in *bits*) for storing arguments in argument list. */ /* Allocation boundary (in *bits*) for storing arguments in argument list. */
#define PARM_BOUNDARY ((unsigned int) (TARGET_64BIT ? 64 : 32)) #define PARM_BOUNDARY (TARGET_64BIT ? 64 : 32)
/* Allocation boundary (in *bits*) for the code of a function. */ /* Allocation boundary (in *bits*) for the code of a function. */
#define FUNCTION_BOUNDARY 32 #define FUNCTION_BOUNDARY 32
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment