annotate src/m/arm.h @ 83949:839526eca1bf

Move here from ../../lispintro/
author Glenn Morris <rgm@gnu.org>
date Thu, 06 Sep 2007 04:02:15 +0000
parents 49b363c28dce
children f27b84de02cf 424b655804ca
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26706
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
1 /* Machine description file for ARM-based non-RISCiX machines.
75227
e90d04cd455a Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents: 68651
diff changeset
2 Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005,
e90d04cd455a Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents: 68651
diff changeset
3 2006, 2007 Free Software Foundation, Inc.
26706
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
4
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
5 This file is part of GNU Emacs.
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
6
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
7 GNU Emacs is free software; you can redistribute it and/or modify
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
8 it under the terms of the GNU General Public License as published by
78258
6aba169c4b1f Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 75227
diff changeset
9 the Free Software Foundation; either version 3, or (at your option)
26706
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
10 any later version.
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
11
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
12 GNU Emacs is distributed in the hope that it will be useful,
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
15 GNU General Public License for more details.
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
16
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
18 along with GNU Emacs; see the file COPYING. If not, write to
64083
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 52401
diff changeset
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 52401
diff changeset
20 Boston, MA 02110-1301, USA. */
26706
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
21
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
22
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
23
78499
49b363c28dce Replace `iff' in comments.
Glenn Morris <rgm@gnu.org>
parents: 78258
diff changeset
24 /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
26706
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
25 is the most significant byte. */
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
26
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
27 #undef WORDS_BIG_ENDIAN
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
28
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
29 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
30 * group of arguments and treat it as an array of the arguments. We can't
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
31 * do this on the arm with gcc, since the first 4 args are in registers. */
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
32
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
33 #ifdef __GNUC__
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
34 #define NO_ARG_ARRAY
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
35 #else
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
36 #undef NO_ARG_ARRAY
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
37 #endif
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
38
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
39 /* Define WORD_MACHINE if addresses and such have
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
40 * to be corrected before they can be used as byte counts. */
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
41
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
42 #undef WORD_MACHINE
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
43
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
44 /* Define how to take a char and sign-extend into an int.
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
45 On machines where char is signed, this is a no-op. */
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
46
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
47 #define SIGN_EXTEND_CHAR(c) (((int)(c) << 24) >> 24)
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
48
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
49 #define NO_UNION_TYPE
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
50
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
51 #define NO_REMAP
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48437
diff changeset
52
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48437
diff changeset
53 /* arch-tag: 07856f0c-f0c8-4bd8-99af-0b7fa1e5ee42
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48437
diff changeset
54 (do not change this comment) */