Annotation of gcc/config/tm-seq386.h, revision 1.1.1.2

1.1       root        1: /* Definitions for Sequent Intel 386.
                      2:    Copyright (C) 1988 Free Software Foundation, Inc.
                      3: 
                      4: This file is part of GNU CC.
                      5: 
                      6: GNU CC 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 1, or (at your option)
                      9: any later version.
                     10: 
                     11: GNU CC 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: You should have received a copy of the GNU General Public License
                     17: along with GNU CC; see the file COPYING.  If not, write to
                     18: the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
                     19: 
                     20: #include "tm-i386.h"
                     21: 
                     22: /* Use the BSD assembler syntax.  */
                     23: 
                     24: #include "tm-bsd386.h"
                     25: 
                     26: /* By default, target has a 80387.  */
                     27: 
                     28: #define TARGET_DEFAULT 1
                     29: 
                     30: /* Specify predefined symbols in preprocessor.  */
                     31: 
                     32: #define CPP_PREDEFINES "-Dunix -Di386 -Dsequent"
                     33: 
                     34: /* We don't want to output SDB debugging information.  */
                     35: 
                     36: #undef SDB_DEBUGGING_INFO
                     37: 
                     38: /* We want to output DBX debugging information.  */
                     39: 
                     40: #define DBX_DEBUGGING_INFO
                     41: 
1.1.1.2 ! root       42: /* gcc order is ax, dx, cx, bx, si, di, bp, sp, st, st.
        !            43:  * dbx order is ax, dx, cx, st(0), st(1), bx, si, di, st(2), st(3),
        !            44:  *             st(4), st(5), st(6), st(7), sp, bp  */
        !            45: #undef DBX_REGISTER_NUMBER
        !            46: #define DBX_REGISTER_NUMBER(n)         \
        !            47: ((n) < 3 ? (n) : (n) < 6 ? (n) + 2     \
        !            48:  : (n) == 6 ? 15 : (n) == 7 ? 14 : 3)
        !            49: 
        !            50: /* Prevent anything from being allocated in the register pair cx/bx,
        !            51:    since that would confuse GDB.  */
        !            52: 
        !            53: #undef HARD_REGNO_MODE_OK
        !            54: #define HARD_REGNO_MODE_OK(REGNO, MODE) \
        !            55:   (hard_regno_mode_ok (REGNO, MODE)    \
        !            56:    && ! (REGNO == 2 && GET_MODE_SIZE (MODE) > 4))
        !            57: 
1.1       root       58: /* Floating-point return values come in the FP register.  */
                     59: 
                     60: #define VALUE_REGNO(MODE) \
                     61:   (((MODE)==SFmode || (MODE)==DFmode) ? FIRST_FLOAT_REG : 0)
                     62: 
                     63: /* 1 if N is a possible register number for a function value. */
                     64: 
                     65: #define FUNCTION_VALUE_REGNO_P(N) ((N) == 0 || (N)== FIRST_FLOAT_REG)
                     66: 
                     67: /* Output assembler code to FILE to increment profiler label # LABELNO
                     68:    for profiling a function entry. */
                     69: 
                     70: #undef FUNCTION_PROFILER
                     71: #define FUNCTION_PROFILER(FILE, LABELNO)  \
                     72:    fprintf (FILE, "\tmovl $LP%d,%%eax\n\tcall mcount\n", (LABELNO));
                     73: 
                     74: /* Assember pseudo-op for shared data segment. */
                     75: #define SHARED_SECTION_ASM_OP ".shdata"

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.