aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2000-03-27 11:03:26 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2000-03-27 06:03:26 -0500
commitaa63d244633f2bca50cc08548ba9a831cea15452 (patch)
tree8a81efb2ab5c942170c251784232e23bba8dd062
parent0aace0889a5c23d71210bb382a84b430b3f62a16 (diff)
downloadgcc-aa63d244633f2bca50cc08548ba9a831cea15452.zip
gcc-aa63d244633f2bca50cc08548ba9a831cea15452.tar.gz
gcc-aa63d244633f2bca50cc08548ba9a831cea15452.tar.bz2
* libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
From-SVN: r32762
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/libgcc2.h8
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 21f3b19..d5d905b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Mon Mar 27 06:04:22 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
+
+ * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
+
Sun Mar 26 20:15:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* c-convert.c (convert): Return if output or input type is ERROR_MARK.
diff --git a/gcc/libgcc2.h b/gcc/libgcc2.h
index ad58581..a404d16 100644
--- a/gcc/libgcc2.h
+++ b/gcc/libgcc2.h
@@ -87,11 +87,11 @@ typedef int QItype __attribute__ ((mode (QI)));
typedef unsigned int UQItype __attribute__ ((mode (QI)));
typedef int HItype __attribute__ ((mode (HI)));
typedef unsigned int UHItype __attribute__ ((mode (HI)));
-#if UNITS_PER_WORD > 1
+#if MIN_UNITS_PER_WORD > 1
/* These typedefs are usually forbidden on dsp's with UNITS_PER_WORD 1 */
typedef int SItype __attribute__ ((mode (SI)));
typedef unsigned int USItype __attribute__ ((mode (SI)));
-#if UNITS_PER_WORD > 2
+#if MIN_UNITS_PER_WORD > 2
/* These typedefs are usually forbidden on archs with UNITS_PER_WORD 2 */
typedef int DItype __attribute__ ((mode (DI)));
typedef unsigned int UDItype __attribute__ ((mode (DI)));
@@ -149,7 +149,7 @@ typedef int word_type __attribute__ ((mode (__word__)));
#define float bogus_type
#define double bogus_type
-#if UNITS_PER_WORD > 2
+#if MIN_UNITS_PER_WORD > 2
#define W_TYPE_SIZE (4 * BITS_PER_UNIT)
#define Wtype SItype
#define UWtype USItype
@@ -159,7 +159,7 @@ typedef int word_type __attribute__ ((mode (__word__)));
#define UDWtype UDItype
#define __NW(a,b) __ ## a ## si ## b
#define __NDW(a,b) __ ## a ## di ## b
-#elif UNITS_PER_WORD > 1
+#elif MIN_UNITS_PER_WORD > 1
#define W_TYPE_SIZE (2 * BITS_PER_UNIT)
#define Wtype HItype
#define UWtype UHItype