(TARGET_DEFAULT): Delete.
* config/i860/i860.opt: New file.
From-SVN: r96884
+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)
/* 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 */
--- /dev/null
+; 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