OSDN Git Service

(notice_cc_update): Set CC_FCOMI is this is a float compare.
[pf3gnuchains/gcc-fork.git] / gcc / config / m88k / dolph.h
1 /* Definitions of target machine for GNU compiler.
2    Motorola m88100 running the Dolphin UNIX System V/88 Release 3.2,
3    Version 3.8/7.83 and 3.6/5.86
4    Copyright (C) 1992, 1993 Free Software Foundation, Inc.
5
6 This file is part of GNU CC.
7
8 GNU CC is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
12
13 GNU CC is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with GNU CC; see the file COPYING.  If not, write to
20 the Free Software Foundation, 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA.  */
22
23 #include "m88k/sysv3.h"
24
25 #define SDB_ALLOW_FORWARD_REFERENCES
26 #define SDB_ALLOW_UNKNOWN_REFERENCES
27
28 /* Override m88k/sysv3.h */
29
30 #undef  CPP_PREDEFINES
31 #define CPP_PREDEFINES "-Dm88000 -Dm88k -DOCS88 -DDOLPHIN -Dunix -DsysV88 -D__CLASSIFY_TYPE__=2 -Asystem(unix) -Asystem(svr3) -Acpu(m88k) -Amachine(m88k)" 
32
33 /* 
34   If you want to detect dereferencing of NULL pointers, uncomment the
35   following two lines. Alternatively, edit the appropriate specs file.
36   
37   #undef LINK_SPEC
38   #define LINK_SPEC "gcc.ld%s"
39   
40   */
41
42 #undef CPU_DEFAULT
43 #define CPU_DEFAULT MASK_88000
44
45 #undef INITIALIZE_TRAMPOLINE 
46 #define INITIALIZE_TRAMPOLINE(TRAMP, FNADDR, CXT)                       \
47 {                                                                       \
48   emit_move_insn (gen_rtx (MEM, SImode, plus_constant (TRAMP, 40)), FNADDR); \
49   emit_move_insn (gen_rtx (MEM, SImode, plus_constant (TRAMP, 36)), CXT); \
50   emit_call_insn (gen_call( gen_rtx (MEM, SImode,                       \
51                                      gen_rtx(SYMBOL_REF,Pmode,          \
52                                              "__enable_execute_stack")), \
53                            const0_rtx));                                \
54 }