Mercurial > emacs
diff src/m/mips.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 | b8b139a8b481 |
children | ee40177f6c68 |
line wrap: on
line diff
--- a/src/m/mips.h Tue Oct 31 02:48:28 1995 +0000 +++ b/src/m/mips.h Tue Oct 31 05:22:28 1995 +0000 @@ -27,15 +27,6 @@ Note that the proper m- file for the Decstation is m-pmax.h. NOTE-END */ -/* 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. */ @@ -169,17 +160,17 @@ /* The standard definitions of these macros would work ok, 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))) + + (((unsigned) (ptr) << (BITS_PER_INT-VALBITS)) >> (BITS_PER_INT-VALBITS))) #define XUNMARK(a) \ ((a) = \ - (((unsigned)(a) << (INTBITS-GCTYPEBITS-VALBITS)) \ - >> (INTBITS-GCTYPEBITS-VALBITS))) + (((unsigned)(a) << (BITS_PER_INT-GCTYPEBITS-VALBITS)) \ + >> (BITS_PER_INT-GCTYPEBITS-VALBITS))) #ifndef NEWSOS5 #ifdef USG