From aa63d244633f2bca50cc08548ba9a831cea15452 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 27 Mar 2000 11:03:26 +0000 Subject: [PATCH] * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD. From-SVN: r32762 --- gcc/ChangeLog | 4 ++++ gcc/libgcc2.h | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 21f3b19b1b1..d5d905b86f7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Mon Mar 27 06:04:22 2000 Richard Kenner + + * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD. + Sun Mar 26 20:15:26 2000 Richard Kenner * c-convert.c (convert): Return if output or input type is ERROR_MARK. diff --git a/gcc/libgcc2.h b/gcc/libgcc2.h index ad585815c54..a404d168280 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 -- 2.30.2