comparison src/m/iris4d.h @ 89909:68c22ea6027c

Sync to HEAD
author Kenichi Handa <handa@m17n.org>
date Fri, 16 Apr 2004 12:51:06 +0000
parents 375f2633d815
children f9a65d7ebd29
comparison
equal deleted inserted replaced
89908:ee1402f7b568 89909:68c22ea6027c
1 /* machine description file for Iris-4D machines. Use with s/irix*.h. 1 /* machine description file for Iris-4D machines. Use with s/irix*.h.
2 Copyright (C) 1987, 2002 Free Software Foundation, Inc. 2 Copyright (C) 1987, 2002, 2003 Free Software Foundation, Inc.
3 3
4 This file is part of GNU Emacs. 4 This file is part of GNU Emacs.
5 5
6 GNU Emacs is free software; you can redistribute it and/or modify 6 GNU Emacs is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 7 it under the terms of the GNU General Public License as published by
157 if system supports pty's. 'a' means it is /dev/ptya0 */ 157 if system supports pty's. 'a' means it is /dev/ptya0 */
158 158
159 #undef FIRST_PTY_LETTER 159 #undef FIRST_PTY_LETTER
160 #define FIRST_PTY_LETTER 'q' 160 #define FIRST_PTY_LETTER 'q'
161 161
162 #ifndef _LP64 162 #if _MIPS_SZLONG != 64
163 /* fixme: should there be 64-bit defiitions? (The ones below aren't
164 OK.) */
165
163 /* The standard definitions of these macros would work ok, 166 /* The standard definitions of these macros would work ok,
164 but these are faster because the constants are short. */ 167 but these are faster because the constants are short. */
165 168
166 #define XUINT(a) (((unsigned)(a) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS) 169 #define XUINT(a) (((unsigned)(a) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS)
167 170
168 #define XSET(var, type, ptr) \ 171 #define XSET(var, type, ptr) \
169 ((var) = ((int)(type) << VALBITS) + (((unsigned) (ptr) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS)) 172 ((var) = ((int)(type) << VALBITS) + (((unsigned) (ptr) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS))
170
171 #define XUNMARK(a) ((a) = (((unsigned)(a) << BITS_PER_INT-GCTYPEBITS-VALBITS) >> BITS_PER_INT-GCTYPEBITS-VALBITS))
172 #endif /* _LP64 */ 173 #endif /* _LP64 */
173 174
174 #ifndef __GNUC__ 175 #ifndef __GNUC__
175 /* Turn off some "helpful" error checks for type mismatches 176 /* Turn off some "helpful" error checks for type mismatches
176 that we can't fix without breaking other machines. */ 177 that we can't fix without breaking other machines. */
183 #endif 184 #endif
184 #endif 185 #endif
185 #endif 186 #endif
186 187
187 #endif /* not __GNUC__ */ 188 #endif /* not __GNUC__ */
189
190 /* arch-tag: fff5e139-9ae0-465d-afec-837c41ea0aa6
191 (do not change this comment) */