0
|
1 /* Definitions for Unix assembler syntax for the Intel 80386.
|
|
2 Copyright (C) 1988, 1994, 1999, 2000, 2001, 2002, 2007, 2009
|
|
3 Free Software Foundation, Inc.
|
|
4
|
|
5 This file is part of GCC.
|
|
6
|
|
7 GCC is free software; you can redistribute it and/or modify
|
|
8 it under the terms of the GNU General Public License as published by
|
|
9 the Free Software Foundation; either version 3, or (at your option)
|
|
10 any later version.
|
|
11
|
|
12 GCC is distributed in the hope that it will be useful,
|
|
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15 GNU General Public License for more details.
|
|
16
|
|
17 Under Section 7 of GPL version 3, you are granted additional
|
|
18 permissions described in the GCC Runtime Library Exception, version
|
|
19 3.1, as published by the Free Software Foundation.
|
|
20
|
|
21 You should have received a copy of the GNU General Public License and
|
|
22 a copy of the GCC Runtime Library Exception along with this program;
|
|
23 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
|
24 <http://www.gnu.org/licenses/>. */
|
|
25
|
|
26 /* This file defines the aspects of assembler syntax
|
|
27 that are the same for all the i386 Unix systems
|
|
28 (though they may differ in non-Unix systems). */
|
|
29
|
|
30 /* Define macro used to output shift-double opcodes when the shift
|
|
31 count is in %cl. Some assemblers require %cl as an argument;
|
|
32 some don't. This macro controls what to do: by default, don't
|
|
33 print %cl. */
|
|
34 #define SHIFT_DOUBLE_OMITS_COUNT 1
|
|
35
|
|
36 /* Define the syntax of pseudo-ops, labels and comments. */
|
|
37
|
|
38 /* String containing the assembler's comment-starter. */
|
|
39
|
|
40 #define ASM_COMMENT_START "/"
|
|
41
|
|
42 /* Output to assembler file text saying following lines
|
|
43 may contain character constants, extra white space, comments, etc. */
|
|
44
|
|
45 #define ASM_APP_ON "/APP\n"
|
|
46
|
|
47 /* Output to assembler file text saying following lines
|
|
48 no longer contain unusual constructs. */
|
|
49
|
|
50 #define ASM_APP_OFF "/NO_APP\n"
|
|
51
|
|
52 /* Output before read-only data. */
|
|
53
|
|
54 #define TEXT_SECTION_ASM_OP "\t.text"
|
|
55
|
|
56 /* Output before writable (initialized) data. */
|
|
57
|
|
58 #define DATA_SECTION_ASM_OP "\t.data"
|
|
59
|
|
60 /* Output before writable (uninitialized) data. */
|
|
61
|
|
62 #define BSS_SECTION_ASM_OP "\t.bss"
|
|
63
|
|
64 /* Globalizing directive for a label. */
|
|
65 #define GLOBAL_ASM_OP ".globl "
|
|
66
|
|
67 /* By default, target has a 80387, uses IEEE compatible arithmetic,
|
|
68 and returns float values in the 387. */
|
|
69 #undef TARGET_SUBTARGET_DEFAULT
|
|
70 #define TARGET_SUBTARGET_DEFAULT \
|
|
71 (MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS)
|
|
72
|
|
73 /* By default, 64-bit mode uses 128-bit long double. */
|
|
74 #undef TARGET_SUBTARGET64_DEFAULT
|
|
75 #define TARGET_SUBTARGET64_DEFAULT \
|
|
76 MASK_128BIT_LONG_DOUBLE
|