From: Richard Sandiford Date: Tue, 22 Mar 2005 19:21:38 +0000 (+0000) Subject: * config/i860/i860.h (target_flags, TARGET_XP, TARGET_SWITCHES) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9ea1c2f673c603601103be092a3d80c9decf519f;p=gcc.git * config/i860/i860.h (target_flags, TARGET_XP, TARGET_SWITCHES) (TARGET_DEFAULT): Delete. * config/i860/i860.opt: New file. From-SVN: r96884 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 865e2b984a4..3a92893b1ba 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-03-22 Richard Sandiford + + * config/i860/i860.h (target_flags, TARGET_XP, TARGET_SWITCHES) + (TARGET_DEFAULT): Delete. + * config/i860/i860.opt: New file. + 2005-03-22 Richard Sandiford * config/frv/frv-protos.h (frv_branch_cost_string, frv_branch_cost_int) diff --git a/gcc/config/i860/i860.h b/gcc/config/i860/i860.h index bc61dfe568c..cf7f18738dd 100644 --- a/gcc/config/i860/i860.h +++ b/gcc/config/i860/i860.h @@ -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 /* target machine storage layout */ diff --git a/gcc/config/i860/i860.opt b/gcc/config/i860/i860.opt new file mode 100644 index 00000000000..247edf6fd30 --- /dev/null +++ b/gcc/config/i860/i860.opt @@ -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