* config/i860/i860.h (target_flags, TARGET_XP, TARGET_SWITCHES)
authorRichard Sandiford <rsandifo@redhat.com>
Tue, 22 Mar 2005 19:21:38 +0000 (19:21 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 22 Mar 2005 19:21:38 +0000 (19:21 +0000)
(TARGET_DEFAULT): Delete.
* config/i860/i860.opt: New file.

From-SVN: r96884

gcc/ChangeLog
gcc/config/i860/i860.h
gcc/config/i860/i860.opt [new file with mode: 0644]

index 865e2b984a4f9c0c7fb86b548c6ccd27a9a5ce60..3a92893b1ba8702508ab8448dec8f8209936c29e 100644 (file)
@@ -1,3 +1,9 @@
+2005-03-22  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/i860/i860.h (target_flags, TARGET_XP, TARGET_SWITCHES)
+       (TARGET_DEFAULT): Delete.
+       * config/i860/i860.opt: New file.
+
 2005-03-22  Richard Sandiford  <rsandifo@redhat.com>
 
        * config/frv/frv-protos.h (frv_branch_cost_string, frv_branch_cost_int)
index bc61dfe568cf81aff3023181a50d52b96768372f..cf7f18738ddefaf3225bbf316c3fa8f2b9da4283 100644 (file)
@@ -36,33 +36,6 @@ do {                                            \
 
 /* Print subsidiary information on the compiler version in use.  */
 #define TARGET_VERSION fprintf (stderr, " (i860)");
-
-/* Run-time compilation parameters selecting different hardware subsets
-   or supersets.
-
-   On the i860, we have one: TARGET_XP.  This option allows gcc to generate
-   additional instructions available only on the newer i860 XP (but not on
-   the older i860 XR).
-*/
-
-extern int target_flags;
-
-/* Nonzero if we should generate code to use the fpu.  */
-#define TARGET_XP (target_flags & 1)
-
-/* Macro to define tables used to set the flags.
-   This is a list in braces of pairs in braces,
-   each pair being { "NAME", VALUE }
-   where VALUE is the bits to set or minus the bits to clear.
-   An empty string NAME is used to identify the default VALUE.  */
-
-#define TARGET_SWITCHES  \
-  { {"xp", 1, N_("Generate code which uses the FPU")},                 \
-    {"noxp", -1, N_("Do not generate code which uses the FPU")},       \
-    {"xr", -1, N_("Do not generate code which uses the FPU")},         \
-    { "", TARGET_DEFAULT, NULL}}
-
-#define TARGET_DEFAULT 0
 \f
 /* target machine storage layout */
 
diff --git a/gcc/config/i860/i860.opt b/gcc/config/i860/i860.opt
new file mode 100644 (file)
index 0000000..247edf6
--- /dev/null
@@ -0,0 +1,32 @@
+; Options for the Intel i860 port of the compiler.
+
+; Copyright (C) 2005 Free Software Foundation, Inc.
+;
+; 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 2, 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 COPYING.  If not, write to the Free
+; Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+; 02111-1307, USA.
+
+mxp
+Target Report RejectNegative Mask(XP)
+Generate code which uses the FPU
+
+mnoxp
+Target Report RejectNegative InverseMask(XP)
+Do not generate code which uses the FPU
+
+mxr
+Target Report RejectNegative InverseMask(XP)
+Do not generate code which uses the FPU