diff options
| author | Karl Heuer | 1995-01-07 00:18:38 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-01-07 00:18:38 +0000 |
| commit | 9b8e820120292fc069e5deca2db622ff93e81cb3 (patch) | |
| tree | 7b5b8214aa4882c911c82eb2f963663125f277d3 /src | |
| parent | aa24c41b1d1e070eae160b2921cb1e64ea6c8ceb (diff) | |
| download | emacs-9b8e820120292fc069e5deca2db622ff93e81cb3.tar.gz emacs-9b8e820120292fc069e5deca2db622ff93e81cb3.zip | |
(VALBITS, XTYPE): Adjust for new bit layout.
Diffstat (limited to 'src')
| -rw-r--r-- | src/m/att3b.h | 7 | ||||
| -rw-r--r-- | src/m/pfa50.h | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/src/m/att3b.h b/src/m/att3b.h index 79f9529524e..b92f7b52f00 100644 --- a/src/m/att3b.h +++ b/src/m/att3b.h | |||
| @@ -58,7 +58,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 58 | #define NO_UNION_TYPE | 58 | #define NO_UNION_TYPE |
| 59 | 59 | ||
| 60 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | 60 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend |
| 61 | the 24-bit bit field into an int. In other words, if bit fields | 61 | the bit field into an int. In other words, if bit fields |
| 62 | are always unsigned. | 62 | are always unsigned. |
| 63 | 63 | ||
| 64 | If you use NO_UNION_TYPE, this flag does not matter. */ | 64 | If you use NO_UNION_TYPE, this flag does not matter. */ |
| @@ -136,10 +136,9 @@ extern int sign_extend_temp; | |||
| 136 | #if u3b2 || u3b5 || u3b15 | 136 | #if u3b2 || u3b5 || u3b15 |
| 137 | 137 | ||
| 138 | /* On 3b2/5/15, data space has high order bit on. */ | 138 | /* On 3b2/5/15, data space has high order bit on. */ |
| 139 | #define VALBITS 27 | ||
| 139 | #define VALMASK (((1<<VALBITS) - 1) | (1 << 31)) | 140 | #define VALMASK (((1<<VALBITS) - 1) | (1 << 31)) |
| 140 | #define XTYPE(a) ((enum Lisp_Type) (((a) >> VALBITS) & 0x7F)) | 141 | #define XTYPE(a) ((enum Lisp_Type) (((a) >> VALBITS) & GCTYPEMASK)) |
| 141 | #define GCTYPEBITS 5 | ||
| 142 | #define XADDRFIX(a) ((a) |= 0X80000000) /* Because of high order */ | ||
| 143 | 142 | ||
| 144 | #endif /* 3b2, 3b5 or 3b15 */ | 143 | #endif /* 3b2, 3b5 or 3b15 */ |
| 145 | 144 | ||
diff --git a/src/m/pfa50.h b/src/m/pfa50.h index d00cda2ffe2..80dcbfad42d 100644 --- a/src/m/pfa50.h +++ b/src/m/pfa50.h | |||
| @@ -66,7 +66,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 66 | 66 | ||
| 67 | #define START_FILES crt0.o | 67 | #define START_FILES crt0.o |
| 68 | 68 | ||
| 69 | /* Define LD_SWITCH_MACHINE if your linker need it. | 69 | /* Define LD_SWITCH_MACHINE if your linker needs it. |
| 70 | */ | 70 | */ |
| 71 | 71 | ||
| 72 | #define LD_SWITCH_MACHINE -e __start | 72 | #define LD_SWITCH_MACHINE -e __start |
| @@ -74,9 +74,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 74 | #if pfa50 || pfa70 | 74 | #if pfa50 || pfa70 |
| 75 | 75 | ||
| 76 | /* On A-50/60/70/80, data space has high order byte use. */ | 76 | /* On A-50/60/70/80, data space has high order byte use. */ |
| 77 | #define VALBITS 26 | ||
| 77 | #define VALMASK (((1<<VALBITS) - 1) | 0x60000000) | 78 | #define VALMASK (((1<<VALBITS) - 1) | 0x60000000) |
| 78 | #define XTYPE(a) ((enum Lisp_Type) (((a) >> VALBITS) & 0x1f)) | 79 | #define XTYPE(a) ((enum Lisp_Type) (((a) >> VALBITS) & GCTYPEMASK)) |
| 79 | #define XGCTYPE(a) ((enum Lisp_Type) (((a) >> VALBITS) & 0x1f)) | ||
| 80 | 80 | ||
| 81 | #endif /* pfa50, pfa70 */ | 81 | #endif /* pfa50, pfa70 */ |
| 82 | 82 | ||