summaryrefslogtreecommitdiff
path: root/gcc/config/mmix/mmix-modes.def
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-10 22:35:56 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-10 22:35:56 +0000
commit6f432b5846a7fecc8e5dba4f0ceda0c17f5902a5 (patch)
tree3704f68e05aa74e7be1ef03c29f2586c2068a4d5 /gcc/config/mmix/mmix-modes.def
parentf23d9a226033360078f2f60274c9d63ea1ee4a9c (diff)
downloadgcc-6f432b5846a7fecc8e5dba4f0ceda0c17f5902a5.tar.gz
* Makefile.in (MACHMODE_H): Add @extra_modes_file@.
* configure.in: If $srcdir/config/${cpu_type}/${cpu_type}-modes.def exists, substitute its pathname as @extra_modes_file@, define EXTRA_MODES_FILE to be an appropriate string to #include it with, and define EXTRA_CC_MODES to 1. * machmode.def: Update comments. Include EXTRA_MODES_FILE if it's defined. Get rid of redundancy in calling sequence for CC; don't use it to define CCmode, to avoid a warning. * libgcc2.c: Include symcat.h for the sake of machmode.def. * arc-modes.def, arm-modes.def, c4x-modes.def, i386-modes.def, i960-modes.def, ia64-modes.def, m88k-modes.def, mmix-modes.def, pa-modes.def, pdp11-modes.def, rs6000-modes.def, sparc-modes.def: New files. * arc.h, arm.h, c4x.h, i386.h, i960.h, ia64.h, m88k.h, mmix.h, pa.h, pdp11.h, rs6000.h, sparc.h: Don't define EXTRA_CC_MODES. * doc/sourcebuild.texi, doc/tm.texi: Document new scheme for defining extra CC modes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54478 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mmix/mmix-modes.def')
-rw-r--r--gcc/config/mmix/mmix-modes.def27
1 files changed, 27 insertions, 0 deletions
diff --git a/gcc/config/mmix/mmix-modes.def b/gcc/config/mmix/mmix-modes.def
new file mode 100644
index 00000000000..563931a9a75
--- /dev/null
+++ b/gcc/config/mmix/mmix-modes.def
@@ -0,0 +1,27 @@
+/* Definitions of target machine for GNU compiler, for MMIX.
+ Copyright (C) 2002 Free Software Foundation, Inc.
+ Contributed by Hans-Peter Nilsson (hp@bitrange.com)
+
+This file is part of GNU CC.
+
+GNU CC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU CC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU CC; see the file COPYING. If not, write to
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA. */
+
+/* Extra machine modes to represent the condition code. */
+
+CC (CC_UNS)
+CC (CC_FP)
+CC (CC_FPEQ)
+CC (CC_FUN)