aboutsummaryrefslogtreecommitdiff
path: root/gcc/libgcc2.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/libgcc2.h')
-rw-r--r--gcc/libgcc2.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/libgcc2.h b/gcc/libgcc2.h
index c31a146..7a26e33 100644
--- a/gcc/libgcc2.h
+++ b/gcc/libgcc2.h
@@ -1,5 +1,5 @@
/* Header file for libgcc2.c. */
-/* Copyright (C) 2000
+/* Copyright (C) 2000, 2001
Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -199,6 +199,9 @@ typedef int word_type __attribute__ ((mode (__word__)));
#define __NDW(a,b) __ ## a ## hi ## b
#endif
+#define Wtype_MAX ((Wtype)(((UWtype)1 << (W_TYPE_SIZE - 1)) - 1))
+#define Wtype_MIN (- Wtype_MAX - 1)
+
#define __muldi3 __NDW(mul,3)
#define __divdi3 __NDW(div,3)
#define __udivdi3 __NDW(udiv,3)