Mercurial > emacs
comparison src/m/amdx86-64.h @ 51773:879bebcbb9d7
(MARKBIT): Remove definition since lisp.h does not compare
MARKBIT and ARRAY_MARK_FLAG any more.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sun, 06 Jul 2003 21:08:17 +0000 |
parents | 23a1cea22d13 |
children | 695cf19ef79e |
comparison
equal
deleted
inserted
replaced
51772:b4397c0420d4 | 51773:879bebcbb9d7 |
---|---|
1 /* machine description file for AMD x86-64. | 1 /* machine description file for AMD x86-64. |
2 Copyright (C) 2002 Free Software Foundation, Inc. | 2 Copyright (C) 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 |
99 | 99 |
100 /* On the 64 bit architecture, we can use 60 bits for addresses */ | 100 /* On the 64 bit architecture, we can use 60 bits for addresses */ |
101 | 101 |
102 #define VALBITS 60 | 102 #define VALBITS 60 |
103 | 103 |
104 /* This definition of MARKBIT is necessary because of the comparison of | |
105 ARRAY_MARK_FLAG and MARKBIT in an #if in lisp.h, which cpp doesn't like. */ | |
106 | |
107 #define MARKBIT 0x8000000000000000L | |
108 | |
109 /* Define XINT and XUINT so that they can take arguments of type int */ | 104 /* Define XINT and XUINT so that they can take arguments of type int */ |
110 #define XINT(a) (((long) (a) << (BITS_PER_LONG - VALBITS)) >> (BITS_PER_LONG - VALBITS)) | 105 #define XINT(a) (((long) (a) << (BITS_PER_LONG - VALBITS)) >> (BITS_PER_LONG - VALBITS)) |
111 #define XUINT(a) ((long) (a) & VALMASK) | 106 #define XUINT(a) ((long) (a) & VALMASK) |
112 | 107 |
113 /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ | 108 /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ |