aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/config/pdp11/pdp11-modes.def
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/config/pdp11/pdp11-modes.def')
-rw-r--r--gcc-4.9/gcc/config/pdp11/pdp11-modes.def26
1 files changed, 26 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/config/pdp11/pdp11-modes.def b/gcc-4.9/gcc/config/pdp11/pdp11-modes.def
new file mode 100644
index 000000000..92b137585
--- /dev/null
+++ b/gcc-4.9/gcc/config/pdp11/pdp11-modes.def
@@ -0,0 +1,26 @@
+/* Definitions of target machine for GNU compiler, for the pdp-11
+ Copyright (C) 2002-2014 Free Software Foundation, Inc.
+ Contributed by Michael K. Gschwind (mike@vlsivie.tuwien.ac.at).
+
+This file is part of GCC.
+
+GCC 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 3, or (at your option)
+any later version.
+
+GCC 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 GCC; see the file COPYING3. If not see
+<http://www.gnu.org/licenses/>. */
+
+/* Add any extra modes needed to represent the condition code.
+ CCFPmode is used for FPU, but should we use a separate reg? */
+
+CC_MODE (CCFP);
+RESET_FLOAT_FORMAT (SF, pdp11_f_format);
+RESET_FLOAT_FORMAT (DF, pdp11_d_format);