Home | History | Annotate | Line # | Download | only in genopts
      1  1.1  mrg # Defines the key strings for LoongArch compiler options.
      2  1.1  mrg #
      3  1.1  mrg # Copyright (C) 2021-2022 Free Software Foundation, Inc.
      4  1.1  mrg #
      5  1.1  mrg # This file is part of GCC.
      6  1.1  mrg #
      7  1.1  mrg # GCC is free software; you can redistribute it and/or modify it under
      8  1.1  mrg # the terms of the GNU General Public License as published by the Free
      9  1.1  mrg # Software Foundation; either version 3, or (at your option) any later
     10  1.1  mrg # version.
     11  1.1  mrg #
     12  1.1  mrg # GCC is distributed in the hope that it will be useful, but WITHOUT
     13  1.1  mrg # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
     14  1.1  mrg # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
     15  1.1  mrg # License for more details.
     16  1.1  mrg #
     17  1.1  mrg # You should have received a copy of the GNU General Public License
     18  1.1  mrg # along with GCC; see the file COPYING3.  If not see
     19  1.1  mrg # <http://www.gnu.org/licenses/>.
     20  1.1  mrg 
     21  1.1  mrg # -march= / -mtune=
     22  1.1  mrg OPTSTR_ARCH	      arch
     23  1.1  mrg OPTSTR_TUNE	      tune
     24  1.1  mrg 
     25  1.1  mrg STR_CPU_NATIVE	      native
     26  1.1  mrg STR_CPU_LOONGARCH64   loongarch64
     27  1.1  mrg STR_CPU_LA464	      la464
     28  1.1  mrg 
     29  1.1  mrg # Base architecture
     30  1.1  mrg STR_ISA_BASE_LA64V100 la64
     31  1.1  mrg 
     32  1.1  mrg # -mfpu
     33  1.1  mrg OPTSTR_ISA_EXT_FPU    fpu
     34  1.1  mrg STR_ISA_EXT_NOFPU     none
     35  1.1  mrg STR_ISA_EXT_FPU0      0
     36  1.1  mrg STR_ISA_EXT_FPU32     32
     37  1.1  mrg STR_ISA_EXT_FPU64     64
     38  1.1  mrg 
     39  1.1  mrg OPTSTR_SOFT_FLOAT     soft-float
     40  1.1  mrg OPTSTR_SINGLE_FLOAT   single-float
     41  1.1  mrg OPTSTR_DOUBLE_FLOAT   double-float
     42  1.1  mrg 
     43  1.1  mrg # -mabi=
     44  1.1  mrg OPTSTR_ABI_BASE	      abi
     45  1.1  mrg STR_ABI_BASE_LP64D    lp64d
     46  1.1  mrg STR_ABI_BASE_LP64F    lp64f
     47  1.1  mrg STR_ABI_BASE_LP64S    lp64s
     48  1.1  mrg 
     49  1.1  mrg # ABI extension types
     50  1.1  mrg STR_ABI_EXT_BASE      base
     51  1.1  mrg 
     52  1.1  mrg # -mcmodel=
     53  1.1  mrg OPTSTR_CMODEL	      cmodel
     54  1.1  mrg STR_CMODEL_NORMAL     normal
     55  1.1  mrg STR_CMODEL_TINY	      tiny
     56  1.1  mrg STR_CMODEL_TS	      tiny-static
     57  1.1  mrg STR_CMODEL_LARGE      large
     58  1.1  mrg STR_CMODEL_EXTREME    extreme
     59