diff src/m/hp800.h @ 13365:2cd15d90fec6

(SHORTBITS, INTBITS, LONGBITS): Deleted; now in config.h Used new names for those macros in all references.
author Karl Heuer <kwzh@gnu.org>
date Tue, 31 Oct 1995 05:22:28 +0000
parents f145d62266f6
children 51d3a3fa828c
line wrap: on
line diff
--- a/src/m/hp800.h	Tue Oct 31 02:48:28 1995 +0000
+++ b/src/m/hp800.h	Tue Oct 31 05:22:28 1995 +0000
@@ -22,15 +22,6 @@
    operating system this machine is likely to run.
    USUAL-OPSYS="hpux"  */
 
-/* The following three symbols give information on
- the size of various data types.  */
-
-#define SHORTBITS 16		/* Number of bits in a short */
-
-#define INTBITS 32		/* Number of bits in an int */
-
-#define LONGBITS 32		/* Number of bits in a long */
-
 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
    is the most significant byte.  */
 
@@ -133,16 +124,16 @@
    but these are faster because the constants are short. */
    
 
-#define XUINT(a) (((unsigned)(a) << INTBITS-VALBITS) >> INTBITS-VALBITS)
+#define XUINT(a) (((unsigned)(a) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS)
 
 #define XSET(var, type, ptr) \
-   ((var) = ((int)(type) << VALBITS) + (((unsigned) (ptr) << INTBITS-VALBITS) >> INTBITS-VALBITS))
+   ((var) = ((int)(type) << VALBITS) + (((unsigned) (ptr) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS))
 
 #define XMARKBIT(a) ((a) < 0)
 #define XSETMARKBIT(a,b) ((a) = ((b) ? (a)|MARKBIT : (a) & ~MARKBIT))
 
 #if 0  /* Loses when sign bit of type field is set.  */
-#define XUNMARK(a) ((a) = (((a) << INTBITS-GCTYPEBITS-VALBITS) >> INTBITS-GCTYPEBITS-VALBITS))
+#define XUNMARK(a) ((a) = (((a) << BITS_PER_INT-GCTYPEBITS-VALBITS) >> BITS_PER_INT-GCTYPEBITS-VALBITS))
 #endif
 
 /* The symbol in the kernel where the load average is found