Mercurial > emacs
annotate src/m/alpha.h @ 110901:00157498ec82
Rearrange an entry (test commit to bzr++ssh).
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sun, 10 Oct 2010 09:39:03 -0400 |
parents | 470bed744331 |
children | 2278399d2eb9 |
rev | line source |
---|---|
101108
2a093594f65a
Comment (add Author:, based on authors.el).
Glenn Morris <rgm@gnu.org>
parents:
100951
diff
changeset
|
1 /* Machine description file for the alpha chip. |
108506
6fcaca6266ae
Minor comment reformatting for some src/m/*.h files.
Glenn Morris <rgm@gnu.org>
parents:
108260
diff
changeset
|
2 |
6fcaca6266ae
Minor comment reformatting for some src/m/*.h files.
Glenn Morris <rgm@gnu.org>
parents:
108260
diff
changeset
|
3 Copyright (C) 1994, 1997, 1999, 2001, 2002, 2003, 2004, 2005, 2006, |
6fcaca6266ae
Minor comment reformatting for some src/m/*.h files.
Glenn Morris <rgm@gnu.org>
parents:
108260
diff
changeset
|
4 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
8836 | 5 |
101108
2a093594f65a
Comment (add Author:, based on authors.el).
Glenn Morris <rgm@gnu.org>
parents:
100951
diff
changeset
|
6 Author: Rainer Schoepf |
2a093594f65a
Comment (add Author:, based on authors.el).
Glenn Morris <rgm@gnu.org>
parents:
100951
diff
changeset
|
7 (according to authors.el) |
2a093594f65a
Comment (add Author:, based on authors.el).
Glenn Morris <rgm@gnu.org>
parents:
100951
diff
changeset
|
8 |
8836 | 9 This file is part of GNU Emacs. |
10 | |
94714
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
11 GNU Emacs is free software: you can redistribute it and/or modify |
8836 | 12 it under the terms of the GNU General Public License as published by |
94714
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
13 the Free Software Foundation, either version 3 of the License, or |
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
14 (at your option) any later version. |
8836 | 15 |
16 GNU Emacs is distributed in the hope that it will be useful, | |
17 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 GNU General Public License for more details. | |
20 | |
21 You should have received a copy of the GNU General Public License | |
94714
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
22 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
8836 | 23 |
28647 | 24 #ifndef _LP64 |
108260
ddb9a8f686bd
Comment changes for some src/m/*.h files.
Glenn Morris <rgm@gnu.org>
parents:
108227
diff
changeset
|
25 #define _LP64 /* This doesn't appear to be necessary on OSF 4/5 -- fx. */ |
28647 | 26 #endif |
8836 | 27 |
28 /* Now define a symbol for the cpu type, if your compiler | |
96732
1e0b67e40d48
* systty.h: Remove code for Aix on 386, unsupported platform.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
96643
diff
changeset
|
29 does not define it automatically. */ |
8836 | 30 /* __alpha defined automatically */ |
31 | |
32 | |
33 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | |
34 the 24-bit bit field into an int. In other words, if bit fields | |
35 are always unsigned. | |
36 | |
96602 | 37 This flag only matters if you use USE_LISP_UNION_TYPE. */ |
8836 | 38 #define EXPLICIT_SIGN_EXTEND |
39 | |
40 /* Data type of load average, as read out of kmem. */ | |
41 #define LOAD_AVE_TYPE long | |
42 | |
43 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
44 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | |
45 | |
15850
d6c4d581ad25
[__ELF__ && __GNUC__] (C_SWITCH_MACHINE): Add -fno-common.
Richard M. Stallman <rms@gnu.org>
parents:
15719
diff
changeset
|
46 #ifdef __ELF__ |
d6c4d581ad25
[__ELF__ && __GNUC__] (C_SWITCH_MACHINE): Add -fno-common.
Richard M. Stallman <rms@gnu.org>
parents:
15719
diff
changeset
|
47 |
107036
467d1fce4215
Fixes for NetBSD (Bug#4629, Bug#2072).
Chong Yidong <cyd@stupidchicken.com>
parents:
106815
diff
changeset
|
48 #if !defined(GNU_LINUX) && !defined(__NetBSD__) |
46651
9f027dd3047f
(BITS_PER_LONG, BITS_PER_EMACS_INT, EMACS_INT,
Ken Raeburn <raeburn@raeburn.org>
parents:
44601
diff
changeset
|
49 #define DATA_START 0x140000000 |
15851
9aaeb5dc2851
[__ELF__] (UNEXEC): Use unexelf1.c.
Richard M. Stallman <rms@gnu.org>
parents:
15850
diff
changeset
|
50 #endif |
96643
79121a8f01e3
* config.nt (HAVE_FACES): Remove, unused.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
96602
diff
changeset
|
51 |
79121a8f01e3
* config.nt (HAVE_FACES): Remove, unused.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
96602
diff
changeset
|
52 #else /* not __ELF__ */ |
15850
d6c4d581ad25
[__ELF__ && __GNUC__] (C_SWITCH_MACHINE): Add -fno-common.
Richard M. Stallman <rms@gnu.org>
parents:
15719
diff
changeset
|
53 |
8836 | 54 /* Describe layout of the address space in an executing process. */ |
55 #define DATA_START 0x140000000 | |
56 | |
96643
79121a8f01e3
* config.nt (HAVE_FACES): Remove, unused.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
96602
diff
changeset
|
57 #endif /* __ELF__ */ |
15850
d6c4d581ad25
[__ELF__ && __GNUC__] (C_SWITCH_MACHINE): Add -fno-common.
Richard M. Stallman <rms@gnu.org>
parents:
15719
diff
changeset
|
58 |
d6c4d581ad25
[__ELF__ && __GNUC__] (C_SWITCH_MACHINE): Add -fno-common.
Richard M. Stallman <rms@gnu.org>
parents:
15719
diff
changeset
|
59 /* On the Alpha it's best to avoid including TERMIO since struct |
d6c4d581ad25
[__ELF__ && __GNUC__] (C_SWITCH_MACHINE): Add -fno-common.
Richard M. Stallman <rms@gnu.org>
parents:
15719
diff
changeset
|
60 termio and struct termios are mutually incompatible. */ |
12827
b0f8f54fe739
[linux] (COFF, NO_TERMIO): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
12825
diff
changeset
|
61 #define NO_TERMIO |
b0f8f54fe739
[linux] (COFF, NO_TERMIO): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
12825
diff
changeset
|
62 |
20201
09b52c2bc2f1
(DBL_MIN_REPLACEMENT): New macro.
Paul Eggert <eggert@twinsun.com>
parents:
20031
diff
changeset
|
63 /* Many Alpha implementations (e.g. gas 2.8) can't handle DBL_MIN: |
09b52c2bc2f1
(DBL_MIN_REPLACEMENT): New macro.
Paul Eggert <eggert@twinsun.com>
parents:
20031
diff
changeset
|
64 they generate code that uses a signaling NaN instead of DBL_MIN. |
09b52c2bc2f1
(DBL_MIN_REPLACEMENT): New macro.
Paul Eggert <eggert@twinsun.com>
parents:
20031
diff
changeset
|
65 Define DBL_MIN_REPLACEMENT to be the next value larger than DBL_MIN: |
09b52c2bc2f1
(DBL_MIN_REPLACEMENT): New macro.
Paul Eggert <eggert@twinsun.com>
parents:
20031
diff
changeset
|
66 this avoids the assembler bug. */ |
09b52c2bc2f1
(DBL_MIN_REPLACEMENT): New macro.
Paul Eggert <eggert@twinsun.com>
parents:
20031
diff
changeset
|
67 #define DBL_MIN_REPLACEMENT 2.2250738585072019e-308 |
52401 | 68 |
69 /* arch-tag: 978cb578-1e25-4a60-819b-adae0972aa78 | |
70 (do not change this comment) */ |