1# Defines the key strings for LoongArch compiler options. 2# 3# Copyright (C) 2021-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 13# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 14# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 15# License 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# -march= / -mtune= 22OPTSTR_ARCH arch 23OPTSTR_TUNE tune 24 25STR_CPU_NATIVE native 26STR_CPU_LOONGARCH64 loongarch64 27STR_CPU_LA464 la464 28 29# Base architecture 30STR_ISA_BASE_LA64V100 la64 31 32# -mfpu 33OPTSTR_ISA_EXT_FPU fpu 34STR_ISA_EXT_NOFPU none 35STR_ISA_EXT_FPU0 0 36STR_ISA_EXT_FPU32 32 37STR_ISA_EXT_FPU64 64 38 39OPTSTR_SOFT_FLOAT soft-float 40OPTSTR_SINGLE_FLOAT single-float 41OPTSTR_DOUBLE_FLOAT double-float 42 43# -mabi= 44OPTSTR_ABI_BASE abi 45STR_ABI_BASE_LP64D lp64d 46STR_ABI_BASE_LP64F lp64f 47STR_ABI_BASE_LP64S lp64s 48 49# ABI extension types 50STR_ABI_EXT_BASE base 51 52# -mcmodel= 53OPTSTR_CMODEL cmodel 54STR_CMODEL_NORMAL normal 55STR_CMODEL_TINY tiny 56STR_CMODEL_TS tiny-static 57STR_CMODEL_LARGE large 58STR_CMODEL_EXTREME extreme 59