aboutsummaryrefslogtreecommitdiff
path: root/gcc/libgcc2.h
diff options
context:
space:
mode:
authorStephane Carrez <Stephane.Carrez@worldnet.fr>2000-09-10 15:02:52 +0200
committerStephane Carrez <ciceron@gcc.gnu.org>2000-09-10 15:02:52 +0200
commita746dbf5d7fae0ea6d15500b6aa251a4c6b8da6b (patch)
tree0bc6395f441574e7e969fee34b4a59f6dca3c241 /gcc/libgcc2.h
parent158a8e6b904781f75e8c8d517af2ad57ae0ec4be (diff)
downloadgcc-a746dbf5d7fae0ea6d15500b6aa251a4c6b8da6b.zip
gcc-a746dbf5d7fae0ea6d15500b6aa251a4c6b8da6b.tar.gz
gcc-a746dbf5d7fae0ea6d15500b6aa251a4c6b8da6b.tar.bz2
libgcc2.h: Use LONG_LONG_TYPE_SIZE instead of MIN_UNITS_PER_WORD to decide whether 64-bit...
* libgcc2.h: Use LONG_LONG_TYPE_SIZE instead of MIN_UNITS_PER_WORD to decide whether 64-bit support must be generated. From-SVN: r36298
Diffstat (limited to 'gcc/libgcc2.h')
-rw-r--r--gcc/libgcc2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/libgcc2.h b/gcc/libgcc2.h
index fdb0f49..2fd6bfe 100644
--- a/gcc/libgcc2.h
+++ b/gcc/libgcc2.h
@@ -90,7 +90,7 @@ typedef unsigned int UHItype __attribute__ ((mode (HI)));
/* 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 MIN_UNITS_PER_WORD > 2
+#if LONG_LONG_TYPE_SIZE > 32
/* 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)));
@@ -163,7 +163,7 @@ typedef int word_type __attribute__ ((mode (__word__)));
#define UDWtype UTItype
#define __NW(a,b) __ ## a ## di ## b
#define __NDW(a,b) __ ## a ## ti ## b
-#elif MIN_UNITS_PER_WORD > 2
+#elif MIN_UNITS_PER_WORD > 2 || LONG_LONG_TYPE_SIZE > 32
#define W_TYPE_SIZE (4 * BITS_PER_UNIT)
#define Wtype SItype
#define UWtype USItype