1750a.h, [...] (BITS_PER_WORD): Delete.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Sun, 3 Mar 2002 15:40:44 +0000 (15:40 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Sun, 3 Mar 2002 15:40:44 +0000 (15:40 +0000)
* 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
Delete.
* defaults.h (BITS_PER_WORD): Define.
* doc/tm.texi (BITS_PER_WORD): Document default value.

From-SVN: r50257

46 files changed:
gcc/ChangeLog
gcc/config/1750a/1750a.h
gcc/config/a29k/a29k.h
gcc/config/alpha/alpha.h
gcc/config/arc/arc.h
gcc/config/arm/arm.h
gcc/config/avr/avr.h
gcc/config/c4x/c4x.h
gcc/config/clipper/clipper.h
gcc/config/convex/convex.h
gcc/config/cris/cris.h
gcc/config/d30v/d30v.h
gcc/config/dsp16xx/dsp16xx.h
gcc/config/elxsi/elxsi.h
gcc/config/fr30/fr30.h
gcc/config/h8300/h8300.h
gcc/config/i370/i370.h
gcc/config/i386/i386.h
gcc/config/i860/i860.h
gcc/config/i960/i960.h
gcc/config/ia64/ia64.h
gcc/config/m32r/m32r.h
gcc/config/m68hc11/m68hc11.h
gcc/config/m68k/m68k.h
gcc/config/m88k/m88k.h
gcc/config/mcore/mcore.h
gcc/config/mips/mips.h
gcc/config/mmix/mmix.h
gcc/config/mn10200/mn10200.h
gcc/config/mn10300/mn10300.h
gcc/config/ns32k/ns32k.h
gcc/config/pa/pa.h
gcc/config/pdp11/pdp11.h
gcc/config/pj/pj.h
gcc/config/romp/romp.h
gcc/config/rs6000/rs6000.h
gcc/config/s390/s390.h
gcc/config/sh/sh.h
gcc/config/sparc/sparc.h
gcc/config/stormy16/stormy16.h
gcc/config/v850/v850.h
gcc/config/vax/vax.h
gcc/config/we32k/we32k.h
gcc/config/xtensa/xtensa.h
gcc/defaults.h
gcc/doc/tm.texi

index 05eea8d72ab72e1bd4b0ee9e13cc145a2b3840fd..60c2a8d1e27c3bbaf0e46cfed81f2c8d43bb3043 100644 (file)
@@ -1,5 +1,15 @@
 2002-03-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
+       * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
+       convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
+       i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
+       m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
+       pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
+       stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
+       Delete.
+       * defaults.h (BITS_PER_WORD): Define.
+       * doc/tm.texi (BITS_PER_WORD): Document default value.  
+
        * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
        m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
        stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.
index 6e87756814674ec043ce3e918df4fe42ee5d0d68..f4f6d519ee5d6a3369c1202573400e06c44388df 100644 (file)
@@ -93,12 +93,6 @@ extern const char *const sectname[4];
 /* number of bits in an addressable storage unit */
 #define BITS_PER_UNIT        16
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD        16
-
 /* Width of a word, in units (bytes).  */
 #define UNITS_PER_WORD       1
 
index 2c98d12a65065afbe54464249d87ed7f3807e9f3..5292d8fd10c06baf0c58a43f3ae0c53854868784 100644 (file)
@@ -165,12 +165,6 @@ extern int target_flags;
    for them.  Might as well be consistent with bytes.  */
 #define WORDS_BIG_ENDIAN 1
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD 32
-
 /* Width of a word, in units (bytes).  */
 #define UNITS_PER_WORD 4
 
index 3ea65568d469c60b4efc84c95f14a6bc9935f049..d783997bc45a6ed577b320e73fcb4e9be7fb85f4 100644 (file)
@@ -474,12 +474,6 @@ extern const char *alpha_mlat_string;      /* For -mmemory-latency= */
    for them.  Might as well be consistent with bytes.  */
 #define WORDS_BIG_ENDIAN 0
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD 64
-
 /* Width of a word, in units (bytes).  */
 #define UNITS_PER_WORD 8
 
index 29edf4e95e1fd1a799dd83be0dc89bbeba0a539b..d6c24afc86a0988bd530b18a10e6da25b46b32ae 100644 (file)
@@ -191,12 +191,6 @@ do {                               \
 #define LIBGCC2_WORDS_BIG_ENDIAN 0
 #endif
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD 32
-
 /* Width of a word, in units (bytes).  */
 #define UNITS_PER_WORD 4
 
index 853db6da6d8c76e5c4d519a9ddc8f354fdc91330..524bfbf465c78c1e938b602498868ec06ef70400 100644 (file)
@@ -696,8 +696,6 @@ extern int arm_is_6_or_7;
    This is always true, even when in little-endian mode.  */
 #define FLOAT_WORDS_BIG_ENDIAN 1
 
-#define BITS_PER_WORD  32
-
 #define UNITS_PER_WORD 4
 
 #define POINTER_SIZE  32
index 60abfe2be667bb27cbc19c2c653cc8a8568b6e77..d1d06e81fc84488dec430ad957fb9a7811fe5515 100644 (file)
@@ -126,10 +126,6 @@ extern int avr_enhanced_p;
    numbered.  */
 #define WORDS_BIG_ENDIAN 0
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   Note that this is not necessarily the width of data type `int';  */
-#define BITS_PER_WORD 8
-
 #ifdef IN_LIBGCC2
 /* This is to get correct SI and DI modes in libgcc2.c (32 and 64 bits).  */
 #define UNITS_PER_WORD 4
index ffa888e4e1a60315ec82748ded69bed35a776283..f0695ea703ae63b0ec432cf7d230373ec42c221e 100644 (file)
@@ -339,7 +339,6 @@ extern const char *c4x_rpts_cycles_string, *c4x_cpu_version_string;
    sizeof(int) = sizeof(long) = sizeof(float) = sizeof(double) = 1.  */
 
 #define BITS_PER_UNIT          32
-#define BITS_PER_WORD          32
 #define UNITS_PER_WORD         1
 #define POINTER_SIZE           32
 #define PARM_BOUNDARY          32
index 61845e4d15bad00f6ffcc8507aeab900ebc18d88..6ae383db3a305d1ab8c948935a21dfc5cb628e49 100644 (file)
@@ -69,12 +69,6 @@ extern int target_flags;
 
 #define WORDS_BIG_ENDIAN 0
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD 32
-
 /* Width of a word, in units (bytes).  */
 #define UNITS_PER_WORD 4
 
index b94bb19effbf032e60f57971a639e8952da856cf..62dc416f1734348230b71900c4c8c1b13922856d 100644 (file)
@@ -434,12 +434,6 @@ extern int target_flags;
 /* Define this if most significant word of a multiword number is numbered.  */
 #define WORDS_BIG_ENDIAN 1
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD 64
-
 /* Width of a word, in units (bytes).  */
 #define UNITS_PER_WORD 8
 
index e1d7007ccd5cee354f9fabc270bf24051ed99952..c547a23675554ccd482a33e1e279ada179b202d7 100644 (file)
@@ -475,8 +475,6 @@ extern int target_flags;
    post-increment on DImode indirect.  */
 #define WORDS_BIG_ENDIAN 0
 
-#define BITS_PER_WORD 32
-
 #define UNITS_PER_WORD 4
 
 #define POINTER_SIZE 32
index 565ed19f76bdf3c41e7d8fc5f6835c842cfd038f..0e665600b22079abb12696b88d70550e431bc5f7 100644 (file)
@@ -161,8 +161,6 @@ extern int target_flags;
 
 #define WORDS_BIG_ENDIAN 1
 
-#define BITS_PER_WORD 32
-
 #define UNITS_PER_WORD 4
 
 #define POINTER_SIZE 32
index c794b707e5dec75593643e0689710229701661f3..0feb5e8966e035c92271c8d40fe18dc9348e2147 100644 (file)
@@ -316,12 +316,6 @@ extern int target_flags;
 /* number of bits in an addressable storage unit */
 #define BITS_PER_UNIT 16
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD 16
-
 /* Maximum number of bits in a word.  */
 #define MAX_BITS_PER_WORD 16
 
index f06eda58f8dc6c8c53b8f0588d2d6aa5d20dff8f..b33afd9542f7bb49aec84d9c44ec217c0f855dfa 100644 (file)
@@ -71,12 +71,6 @@ extern int target_flags;
 /* Define this if most significant word of a multiword number is numbered.  */
 #define WORDS_BIG_ENDIAN 1
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD 64
-
 #define INT_TYPE_SIZE 32
 
 #define LONG_TYPE_SIZE 32
index e15c1e52a9451489c2962af4abf0446425e3dd57..4d04bc678c0e15d89e0dde60e5e7b31b991fccec 100644 (file)
@@ -83,8 +83,6 @@ extern int target_flags;
 
 #define WORDS_BIG_ENDIAN 1
 
-#define BITS_PER_WORD  32
-
 #define UNITS_PER_WORD         4
 
 #define POINTER_SIZE   32
index 3439453a1e58cb2c4f293803f4b9f220304349ac..3a6fe8fcb3d598bc9de7702ba1bded1e900487d4 100644 (file)
@@ -199,11 +199,6 @@ extern int target_flags;
    be consistent).  */
 #define WORDS_BIG_ENDIAN 1
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD          (TARGET_H8300H || TARGET_H8300S ? 32 : 16)
 #define MAX_BITS_PER_WORD      32
 
 /* Width of a word, in units (bytes).  */
index 206a94dc89d29a4792c613381f7dea19f5d4f7dd..628a021dfd260a54e19cb3fe58bd0b2099507456 100644 (file)
@@ -86,10 +86,6 @@ extern int mvs_function_name_length;
 
 #define WORDS_BIG_ENDIAN 1
 
-/* Width in bits of a "word", which is the contents of a machine register.  */
-
-#define BITS_PER_WORD 32
-
 /* Width of a word, in units (bytes).  */
 
 #define UNITS_PER_WORD 4
index b83b22fe80610fa9decfef7109c5c7b9a583768e..f5b8e2f6cc9ff977a84a43f1e6e5b71dfb448612 100644 (file)
@@ -721,12 +721,6 @@ extern int ix86_arch;
 /* Not true for 80386 */
 #define WORDS_BIG_ENDIAN 0
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   Note that this is not necessarily the width of data type `int';
-   if using 16-bit ints on a 80386, this would still be 32.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD (TARGET_64BIT ? 64 : 32)
-
 /* Width of a word, in units (bytes).  */
 #define UNITS_PER_WORD (TARGET_64BIT ? 8 : 4)
 #define MIN_UNITS_PER_WORD 4
index 97d77082155cc1a5c260292a6bd393fe4e2a8bed..4bba584969026d4ea90155560532e0dea492ef40 100644 (file)
@@ -82,12 +82,6 @@ extern int target_flags;
    justify the trouble of changing this assumption.  */
 #define WORDS_BIG_ENDIAN 0
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD 32
-
 /* Width of a word, in units (bytes).  */
 #define UNITS_PER_WORD 4
 
index a067deaa8264650ab312f9db3e381e7a0baeef37..c1446a2db039e06e2c42ff59d8eca4c87ba9bfc8 100644 (file)
@@ -400,12 +400,6 @@ extern int target_flags;
 /* Bitfields cannot cross word boundaries.  */
 #define BITFIELD_NBYTES_LIMITED 1
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD 32
-
 /* Width of a word, in units (bytes).  */
 #define UNITS_PER_WORD 4
 
index 0c343343406eb1060f88b71dc97c3fb329b5d675..afa7bfd212d76122dce98ba36d75d9a7c7febf05 100644 (file)
@@ -244,8 +244,6 @@ extern const char *ia64_fixed_range_string;
 #define LIBGCC2_WORDS_BIG_ENDIAN 0
 #endif
 
-#define BITS_PER_WORD 64
-
 #define UNITS_PER_WORD 8
 
 #define POINTER_SIZE (TARGET_ILP32 ? 32 : 64)
index dcbcfd5322b5426f9844291dcf4231ac17ebd636..22a2f99c80e10f7a862169ad057e4e493d51f9bf 100644 (file)
@@ -442,12 +442,6 @@ extern enum m32r_sdata m32r_sdata;
    value will be set based on preprocessor defines.  */
 /*#define LIBGCC2_WORDS_BIG_ENDIAN 1*/
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD 32
-
 /* Width of a word, in units (bytes).  */
 #define UNITS_PER_WORD 4
 
index a6be24fac8b14937132439389b1daf5d3567f968..067c2a3eb756aa943ad953347baf7a9dad233153 100644 (file)
@@ -241,11 +241,8 @@ extern const struct processor_costs *m68hc11_cost;
 /* Define this if most significant word of a multiword number is numbered.  */
 #define WORDS_BIG_ENDIAN       1
 
-/* Number of bits in a word */
-#define BITS_PER_WORD          16
-
 /* Width of a word, in units (bytes).  */
-#define UNITS_PER_WORD         (BITS_PER_WORD/8)
+#define UNITS_PER_WORD         2
 
 /* Define if you don't want extended real, but do want to use the
    software floating point emulator for REAL_ARITHMETIC and
index 72ef2c90bf38d37b51e250a0daec916d8575e053..a33528826df75ed50d36302f8fcd9d08ed6615e9 100644 (file)
@@ -321,12 +321,6 @@ extern int target_flags;
    So let's be consistent.  */
 #define WORDS_BIG_ENDIAN 1
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD 32
-
 /* Width of a word, in units (bytes).  */
 #define UNITS_PER_WORD 4
 
index d486ec649197f8eb7d200f1f136388792c3589f6..8e82c5c8eaac8547ff6517b36d6895a8920eb9d7 100644 (file)
@@ -335,12 +335,6 @@ extern int flag_pic;                               /* -fpic */
    instructions for them.  */
 #define WORDS_BIG_ENDIAN 1
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD 32
-
 /* Width of a word, in units (bytes).  */
 #define UNITS_PER_WORD 4
 
index 4899aa6cc1d91d61bff2fb36e0311bb876eef1a3..3da212eed06c7f9d8fec2462e90cc040724c0ae0 100644 (file)
@@ -247,11 +247,6 @@ extern const char * mcore_stack_increment_string;
 #define LIBGCC2_WORDS_BIG_ENDIAN 0
 #endif
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD  32
 #define MAX_BITS_PER_WORD 32
 
 /* Width of a word, in units (bytes).  */
index af986a61f463587f20f343321a7477e253387a7f..f1e170de21674829e4c4ab1540949c8ee0154649 100644 (file)
@@ -1569,11 +1569,6 @@ do {                                                     \
 #define LIBGCC2_WORDS_BIG_ENDIAN 0
 #endif
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD (TARGET_64BIT ? 64 : 32)
 #define MAX_BITS_PER_WORD 64
 
 /* Width of a word, in units (bytes).  */
index 3861e6e7b0499a37e5cf5aa5f165889030cf5fb7..7d2c7f20d391ce22600b53eb9e51206123e44f49 100644 (file)
@@ -251,7 +251,6 @@ extern int target_flags;
 #define BYTES_BIG_ENDIAN 1
 #define WORDS_BIG_ENDIAN 1
 #define FLOAT_WORDS_BIG_ENDIAN 1
-#define BITS_PER_WORD 64
 #define UNITS_PER_WORD 8
 #define POINTER_SIZE 64
 
index 6a81b6fbad1fabcebda6b2bc5085bcf52e926a1c..5652041b8b65da4b590027196c86ee4c66e90e3b 100644 (file)
@@ -81,16 +81,9 @@ extern int target_flags;
    This is not true on the Matsushita MN10200.  */
 #define WORDS_BIG_ENDIAN 0
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.
-
-   This is a white lie.  Registers are really 24bits, but most operations
+/* This is a white lie.  Registers are really 24bits, but most operations
    only operate on 16 bits.   GCC chokes badly if we set this to a value
    that is not a power of two.  */
-#define BITS_PER_WORD          16
-
 /* Width of a word, in units (bytes).  */
 #define UNITS_PER_WORD         2
 
index 184aef135cfc42569f3a51ec22052440770595eb..71b73840fb7dcb81a9f82d189a8d0ec73e4bf78d 100644 (file)
@@ -90,12 +90,6 @@ extern int target_flags;
    This is not true on the Matsushita MN10300.  */
 #define WORDS_BIG_ENDIAN 0
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD          32
-
 /* Width of a word, in units (bytes).  */
 #define UNITS_PER_WORD         4
 
index e0343a6985735cc7ce5d321cbe7060659fab26c8..58878a289dec86685506ed6dc7b0f4f7867744b9 100644 (file)
@@ -196,12 +196,6 @@ while (0)
    numbered. This is not true on the ns32k.  */
 #define WORDS_BIG_ENDIAN 0
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   Note that this is not necessarily the width of data type `int';
-   if using 16-bit ints on a 32000, this would still be 32.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD 32
-
 /* Width of a word, in units (bytes).  */
 #define UNITS_PER_WORD 4
 
index 770f24363e84b8fc1490c1380cf435d617ba5d79..c2bc2ea3c2c996f021655e1201d132eaf4f447a1 100644 (file)
@@ -389,11 +389,6 @@ extern int target_flags;
    numbered.  */
 #define WORDS_BIG_ENDIAN 1
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD (TARGET_64BIT ? 64 : 32)
 #define MAX_BITS_PER_WORD 64
 #define MAX_LONG_TYPE_SIZE 32
 #define MAX_WCHAR_TYPE_SIZE 32
index 8f69ccf9ce5460e9b1d516860e51fdf8a723db98..38ee43e61d573f0d739a6f80d413870ce5d1e7c8 100644 (file)
@@ -164,13 +164,6 @@ extern int target_flags;
 /* Define this if most significant word of a multiword number is numbered.  */
 #define WORDS_BIG_ENDIAN 1
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-/*  This is a machine with 16-bit registers */
-#define BITS_PER_WORD 16
-
 /* Width of a word, in units (bytes). 
 
    UNITS OR BYTES - seems like units */
index 804f3963e8a81aeec2c0ada002eee45070d5182a..ed824738b526168a66fba7870b5f3bc1a4c8c1d2 100644 (file)
@@ -133,11 +133,6 @@ extern int target_flags;
 #define LIBGCC2_WORDS_BIG_ENDIAN 1
 #endif
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD  32
 #define MAX_BITS_PER_WORD 32
 
 /* Width of a word, in units (bytes).  */
index a8e04dd8652002917d94f208531850a0c254ee67..081b5181a491466ad5b847720e7272ad690ef55e 100644 (file)
@@ -90,12 +90,6 @@ extern int target_flags;
    for them.  Might as well be consistent with bits and bytes.  */
 #define WORDS_BIG_ENDIAN 1
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD 32
-
 /* Width of a word, in units (bytes).  */
 #define UNITS_PER_WORD 4
 
index 9d64265125fdd736e7d4353edfd38e64ead012f9..e8d9022eed4da7512784187a4df78a1d4d6b74cf 100644 (file)
@@ -522,11 +522,6 @@ extern int rs6000_altivec_abi;
    instructions for them.  Might as well be consistent with bits and bytes.  */
 #define WORDS_BIG_ENDIAN 1
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD (! TARGET_POWERPC64 ? 32 : 64)
 #define MAX_BITS_PER_WORD 64
 
 /* Width of a word, in units (bytes).  */
index b8e86bb8c873ba720963575154d443479450ab6f..0d2d9ff4678bdaf61c61ce14766f031f226a668a 100644 (file)
@@ -106,9 +106,6 @@ extern int current_function_outgoing_args_size;
 
 #define WORDS_BIG_ENDIAN 1
 
-/* Width in bits of a "word", which is the contents of a machine register.  */
-
-#define BITS_PER_WORD (TARGET_64BIT ? 64 : 32)
 #define MAX_BITS_PER_WORD 64
 
 /* Width of a word, in units (bytes).  */
index 28cf110c0ec39d197b601c7bd14d5bf673e16420..8d98aa2573bf2dc21876fbd6ca72fb61b28f3e8b 100644 (file)
@@ -430,11 +430,6 @@ do {                                                                       \
 #define LIBGCC2_WORDS_BIG_ENDIAN 1
 #endif
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD  (TARGET_SHMEDIA ? 64 : 32)
 #define MAX_BITS_PER_WORD 64
 
 #define MAX_LONG_TYPE_SIZE MAX_BITS_PER_WORD
index 22645c3b530772dc84a70966c6fd6bfefe89e408..348d98c5888591ee9a8fc2665be42c609d571025 100644 (file)
@@ -710,11 +710,6 @@ extern struct sparc_cpu_select sparc_select[];
 #define LIBGCC2_WORDS_BIG_ENDIAN 1
 #endif
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD          (TARGET_ARCH64 ? 64 : 32)
 #define MAX_BITS_PER_WORD      64
 
 /* Width of a word, in units (bytes).  */
index 7fde3def2d671ace554c612eeec7d361d04aba03..8f5dbb851d73f087798d548a10e64f9d8e31ddde 100644 (file)
@@ -89,8 +89,6 @@ extern int target_flags;
 
 #define WORDS_BIG_ENDIAN 0
 
-#define BITS_PER_WORD 16
-
 #define UNITS_PER_WORD 2
 
 #define POINTER_SIZE 16
index 1cf58da1290bb905ae60abb14f3b989ded4f6711..a42eb74dea3492d002e73934ece30b298af00a4e 100644 (file)
@@ -228,12 +228,6 @@ extern struct small_memory_info small_memory[(int)SMALL_MEMORY_max];
    This is not true on the NEC V850.  */
 #define WORDS_BIG_ENDIAN 0
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD          32
-
 /* Width of a word, in units (bytes).  */
 #define UNITS_PER_WORD         4
 
index fbd3e38c9c7d2acd8ada2aa25a8bebeb945734e1..ce5d35064ddb6a1969aac371c4d2436512eb615f 100644 (file)
@@ -105,12 +105,6 @@ extern int target_flags;
 /* This is not true on the VAX.  */
 #define WORDS_BIG_ENDIAN 0
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   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.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD 32
-
 /* Width of a word, in units (bytes).  */
 #define UNITS_PER_WORD 4
 
index 7d9ac440f0ab603cc213183a5024359009263ab7..b3ff2062bb930dfc184e94780a5039fe2bc40217 100644 (file)
@@ -62,12 +62,6 @@ extern int target_flags;
    since there are no machine instructions for them.  */
 #define WORDS_BIG_ENDIAN 1
 
-/* Width in bits of a "word", which is the contents of a machine register.
-   Note that this is not necessarily the width of data type `int';
-   if using 16-bit ints on a we32000, this would still be 32.
-   But on a machine with 16-bit registers, this would be 16.  */
-#define BITS_PER_WORD 32
-
 /* Width of a word, in units (bytes).  */
 #define UNITS_PER_WORD 4
 
index 39a28782cea3cae3e432248f419695a3bf8b109b..8e049a8f0aa2658d76265df48bfb16fe12003b34 100644 (file)
@@ -235,8 +235,6 @@ extern unsigned xtensa_current_frame_size;
 /* Define this if most significant word of a multiword number is the lowest. */
 #define WORDS_BIG_ENDIAN (TARGET_BIG_ENDIAN != 0)
 
-/* Width in bits of a "word", which is the contents of a machine register.  */
-#define BITS_PER_WORD 32
 #define MAX_BITS_PER_WORD 32
 
 /* Width of a word, in units (bytes).  */
index 2d0005d3b677bc49d8dd152a88dce11f14218005..fe467404a68f2e9a1b621cd0551a3ed0a3d932e8 100644 (file)
@@ -285,6 +285,10 @@ do {                                                               \
 #define BITS_PER_UNIT 8
 #endif
 
+#ifndef BITS_PER_WORD
+#define BITS_PER_WORD (BITS_PER_UNIT * UNITS_PER_WORD)
+#endif
+
 #ifndef CHAR_TYPE_SIZE
 #define CHAR_TYPE_SIZE BITS_PER_UNIT
 #endif
index 2d7c3e0f250462e57089530efaa71638a226af46..2e8ee707d4df8138955cf8ed5ee532580b315e82 100644 (file)
@@ -928,7 +928,8 @@ unit (byte).  If you do not define this macro the default is 8.
 
 @findex BITS_PER_WORD
 @item BITS_PER_WORD
-Number of bits in a word; normally 32.
+Number of bits in a word.  If you do not define this macro, the default
+is @code{BITS_PER_UNIT * UNITS_PER_WORD}.
 
 @findex MAX_BITS_PER_WORD
 @item MAX_BITS_PER_WORD