1 |
282 |
jeremybenn |
/* 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 |
|
|
Note the trailing space is necessary in case the character
|
40 |
|
|
that immediately follows the comment is '*'. If this happens
|
41 |
|
|
and the space is not there the assembler will interpret this
|
42 |
|
|
as the start of a C-like slash-star comment and complain when
|
43 |
|
|
there is no terminator. */
|
44 |
|
|
|
45 |
|
|
#define ASM_COMMENT_START "/ "
|
46 |
|
|
|
47 |
|
|
/* Output to assembler file text saying following lines
|
48 |
|
|
may contain character constants, extra white space, comments, etc. */
|
49 |
|
|
|
50 |
|
|
#define ASM_APP_ON "/APP\n"
|
51 |
|
|
|
52 |
|
|
/* Output to assembler file text saying following lines
|
53 |
|
|
no longer contain unusual constructs. */
|
54 |
|
|
|
55 |
|
|
#define ASM_APP_OFF "/NO_APP\n"
|
56 |
|
|
|
57 |
|
|
/* Output before read-only data. */
|
58 |
|
|
|
59 |
|
|
#define TEXT_SECTION_ASM_OP "\t.text"
|
60 |
|
|
|
61 |
|
|
/* Output before writable (initialized) data. */
|
62 |
|
|
|
63 |
|
|
#define DATA_SECTION_ASM_OP "\t.data"
|
64 |
|
|
|
65 |
|
|
/* Output before writable (uninitialized) data. */
|
66 |
|
|
|
67 |
|
|
#define BSS_SECTION_ASM_OP "\t.bss"
|
68 |
|
|
|
69 |
|
|
/* Globalizing directive for a label. */
|
70 |
|
|
#define GLOBAL_ASM_OP ".globl "
|
71 |
|
|
|
72 |
|
|
/* By default, target has a 80387, uses IEEE compatible arithmetic,
|
73 |
|
|
and returns float values in the 387. */
|
74 |
|
|
#undef TARGET_SUBTARGET_DEFAULT
|
75 |
|
|
#define TARGET_SUBTARGET_DEFAULT \
|
76 |
|
|
(MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS)
|
77 |
|
|
|
78 |
|
|
/* By default, 64-bit mode uses 128-bit long double. */
|
79 |
|
|
#undef TARGET_SUBTARGET64_DEFAULT
|
80 |
|
|
#define TARGET_SUBTARGET64_DEFAULT \
|
81 |
|
|
MASK_128BIT_LONG_DOUBLE
|