annotate src/m/arm.h @ 41561:cfae9c0a0035

(vc-next-action-on-file): Use insert instead of insert-string.
author Pavel Janík <Pavel@Janik.cz>
date Mon, 26 Nov 2001 16:17:17 +0000
parents 705ff8a9d6dd
children 4be8406ebef9
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.
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
2 Copyright (C) 1994 Free Software Foundation, Inc.
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
3
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
4 This file is part of GNU Emacs.
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
5
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
6 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
7 it under the terms of the GNU General Public License as published by
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
8 the Free Software Foundation; either version 2, or (at your option)
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
9 any later version.
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
10
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
11 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
12 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
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
14 GNU General Public License for more details.
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
15
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
16 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
17 along with GNU Emacs; see the file COPYING. If not, write to
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
19 Boston, MA 02111-1307, USA. */
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
20
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 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
24 is the most significant byte. */
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
25
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
26 #undef WORDS_BIG_ENDIAN
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
27
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
28 /* 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
29 * 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
30 * 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
31
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
32 #ifdef __GNUC__
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
33 #define NO_ARG_ARRAY
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
34 #else
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
35 #undef NO_ARG_ARRAY
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
36 #endif
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
37
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
38 /* Define WORD_MACHINE if addresses and such have
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
39 * 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
40
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
41 #undef WORD_MACHINE
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
42
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
43 /* 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
44 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
45
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
46 #define SIGN_EXTEND_CHAR(c) (((int)(c) << 24) >> 24)
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
47
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
48 #define NO_UNION_TYPE
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
49
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
50 #ifdef __GNUC__
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
51
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
52 /* Use builtin alloca. Also be sure that no other ones are tried out. */
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
53 #define alloca __builtin_alloca
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
54 #define HAVE_ALLOCA
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
55
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
56 #else
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
57 #define C_ALLOCA
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
58 #undef HAVE_ALLOCA
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
59 #endif /* __GNUC__ */
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
60
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
61 #define NO_REMAP
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
62
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
63 #define STACK_DIRECTION -1