diff options
author | Richard Sandiford <rsandifo@redhat.com> | 2005-03-22 19:21:38 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2005-03-22 19:21:38 +0000 |
commit | 9ea1c2f673c603601103be092a3d80c9decf519f (patch) | |
tree | cc84e8feb0639c1336fcaf744a7bc14d4fd306af /gcc | |
parent | 0b2c18fe795a4c8cbe2a50e4be2014f336c794da (diff) | |
download | gcc-9ea1c2f673c603601103be092a3d80c9decf519f.zip gcc-9ea1c2f673c603601103be092a3d80c9decf519f.tar.gz gcc-9ea1c2f673c603601103be092a3d80c9decf519f.tar.bz2 |
* config/i860/i860.h (target_flags, TARGET_XP, TARGET_SWITCHES)
(TARGET_DEFAULT): Delete.
* config/i860/i860.opt: New file.
From-SVN: r96884
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/i860/i860.h | 27 | ||||
-rw-r--r-- | gcc/config/i860/i860.opt | 32 |
3 files changed, 38 insertions, 27 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 865e2b9..3a92893 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 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) (frv_cpu_string, frv_condexec_insns_str, frv_condexec_insns) (frv_condexec_temps_str, frv_condexec_temps, frv_sched_lookahead_str) diff --git a/gcc/config/i860/i860.h b/gcc/config/i860/i860.h index bc61dfe..cf7f187 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 0000000..247edf6 --- /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 |