libgcc2.h: Use LONG_LONG_TYPE_SIZE instead of MIN_UNITS_PER_WORD to decide whether...
authorStephane Carrez <Stephane.Carrez@worldnet.fr>
Sun, 10 Sep 2000 13:02:52 +0000 (15:02 +0200)
committerStephane Carrez <ciceron@gcc.gnu.org>
Sun, 10 Sep 2000 13:02:52 +0000 (15:02 +0200)
* 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

gcc/ChangeLog
gcc/libgcc2.h

index 44085de636b364a715239dad47c1ba4747181581..6df192a82d0cee73ba291ff9e7b38b211c23e295 100644 (file)
@@ -1,3 +1,8 @@
+2000-09-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * libgcc2.h: Use LONG_LONG_TYPE_SIZE instead of MIN_UNITS_PER_WORD
+       to decide whether 64-bit support must be generated.
+
 2000-09-10  Richard Henderson  <rth@cygnus.com>
 
        * c-parse.in (asm patterns): Fix volatile check.
index fdb0f49513f4bbed4dd1bd6f3a9f22b428a04f9c..2fd6bfe4ab7361290d30adc9d232f17132926f1f 100644 (file)
@@ -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