Home | History | Annotate | Download | only in i386
      1 /* Definitions for Unix assembler syntax for the Intel 80386.
      2    Copyright (C) 1988-2013 Free Software Foundation, Inc.
      3 
      4 This file is part of GCC.
      5 
      6 GCC is free software; you can redistribute it and/or modify
      7 it under the terms of the GNU General Public License as published by
      8 the Free Software Foundation; either version 3, or (at your option)
      9 any later version.
     10 
     11 GCC is distributed in the hope that it will be useful,
     12 but WITHOUT ANY WARRANTY; without even the implied warranty of
     13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14 GNU General Public License for more details.
     15 
     16 Under Section 7 of GPL version 3, you are granted additional
     17 permissions described in the GCC Runtime Library Exception, version
     18 3.1, as published by the Free Software Foundation.
     19 
     20 You should have received a copy of the GNU General Public License and
     21 a copy of the GCC Runtime Library Exception along with this program;
     22 see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
     23 <http://www.gnu.org/licenses/>.  */
     24 
     25 /* This file defines the aspects of assembler syntax
     26    that are the same for all the i386 Unix systems
     27    (though they may differ in non-Unix systems).  */
     28 
     29 /* Define macro used to output shift-double opcodes when the shift
     30    count is in %cl.  Some assemblers require %cl as an argument;
     31    some don't.  This macro controls what to do: by default, don't
     32    print %cl.  */
     33 #define SHIFT_DOUBLE_OMITS_COUNT 1
     34 
     35 /* 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 "\t.globl\t"
     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
     82