* config/i860/i860.h (target_flags, TARGET_XP, TARGET_SWITCHES)
(TARGET_DEFAULT): Delete. * config/i860/i860.opt: New file. From-SVN: r96884
This commit is contained in:
parent
0b2c18fe79
commit
9ea1c2f673
3 changed files with 38 additions and 27 deletions
|
@ -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)
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
32
gcc/config/i860/i860.opt
Normal file
32
gcc/config/i860/i860.opt
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue