Home | History | Annotate | Line # | Download | only in iq2000
      1 ; Options for the Vitesse IQ2000 port of the compiler.
      2 
      3 ; Copyright (C) 2005-2022 Free Software Foundation, Inc.
      4 ;
      5 ; This file is part of GCC.
      6 ;
      7 ; GCC is free software; you can redistribute it and/or modify it under
      8 ; the terms of the GNU General Public License as published by the Free
      9 ; Software Foundation; either version 3, or (at your option) any later
     10 ; version.
     11 ;
     12 ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
     13 ; WARRANTY; without even the implied warranty of MERCHANTABILITY or
     14 ; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
     15 ; for more details.
     16 ;
     17 ; You should have received a copy of the GNU General Public License
     18 ; along with GCC; see the file COPYING3.  If not see
     19 ; <http://www.gnu.org/licenses/>.
     20 
     21 HeaderInclude
     22 config/iq2000/iq2000-opts.h
     23 
     24 ; The target cpu for optimization and scheduling.
     25 Variable
     26 enum processor_type iq2000_tune = PROCESSOR_DEFAULT
     27 
     28 ; This option has no effect at the moment.
     29 march=
     30 Target RejectNegative Joined Enum(iq2000_arch)
     31 Specify CPU for code generation purposes.
     32 
     33 Enum
     34 Name(iq2000_arch) Type(int)
     35 
     36 EnumValue
     37 Enum(iq2000_arch) String(default) Value(0)
     38 
     39 EnumValue
     40 Enum(iq2000_arch) String(DEFAULT) Value(0)
     41 
     42 EnumValue
     43 Enum(iq2000_arch) String(iq2000) Value(0)
     44 
     45 mcpu=
     46 Target RejectNegative Joined Enum(iq2000_tune) Var(iq2000_tune)
     47 Specify CPU for scheduling purposes.
     48 
     49 Enum
     50 Name(iq2000_tune) Type(enum processor_type)
     51 Known IQ2000 CPUs (for use with the -mcpu= option):
     52 
     53 EnumValue
     54 Enum(iq2000_tune) String(iq10) Value(PROCESSOR_IQ10)
     55 
     56 EnumValue
     57 Enum(iq2000_tune) String(iq2000) Value(PROCESSOR_IQ2000)
     58 
     59 membedded-data
     60 Target Mask(EMBEDDED_DATA)
     61 Use ROM instead of RAM.
     62 
     63 mgpopt
     64 Target Mask(GPOPT)
     65 Use GP relative sdata/sbss sections.
     66 
     67 ; Not used by the compiler proper.
     68 mno-crt0
     69 Target RejectNegative
     70 No default crt0.o.
     71 
     72 muninit-const-in-rodata
     73 Target Mask(UNINIT_CONST_IN_RODATA)
     74 Put uninitialized constants in ROM (needs -membedded-data).
     75