diff options
Diffstat (limited to 'gcc/config/loongarch/loongarch-str.h')
-rw-r--r-- | gcc/config/loongarch/loongarch-str.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/gcc/config/loongarch/loongarch-str.h b/gcc/config/loongarch/loongarch-str.h new file mode 100644 index 0000000..0e8889b --- /dev/null +++ b/gcc/config/loongarch/loongarch-str.h @@ -0,0 +1,59 @@ +/* Generated automatically by "genstr" from "loongarch-strings". + Please do not edit this file directly. + + Copyright (C) 2021-2022 Free Software Foundation, Inc. + Contributed by Loongson Ltd. + +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 3, 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 COPYING3. If not see +<http://www.gnu.org/licenses/>. */ + +#ifndef LOONGARCH_STR_H +#define LOONGARCH_STR_H + +#define OPTSTR_ARCH "arch" +#define OPTSTR_TUNE "tune" + +#define STR_CPU_NATIVE "native" +#define STR_CPU_LOONGARCH64 "loongarch64" +#define STR_CPU_LA464 "la464" + +#define STR_ISA_BASE_LA64V100 "la64" + +#define OPTSTR_ISA_EXT_FPU "fpu" +#define STR_ISA_EXT_NOFPU "none" +#define STR_ISA_EXT_FPU0 "0" +#define STR_ISA_EXT_FPU32 "32" +#define STR_ISA_EXT_FPU64 "64" + +#define OPTSTR_SOFT_FLOAT "soft-float" +#define OPTSTR_SINGLE_FLOAT "single-float" +#define OPTSTR_DOUBLE_FLOAT "double-float" + +#define OPTSTR_ABI_BASE "abi" +#define STR_ABI_BASE_LP64D "lp64d" +#define STR_ABI_BASE_LP64F "lp64f" +#define STR_ABI_BASE_LP64S "lp64s" + +#define STR_ABI_EXT_BASE "base" + +#define OPTSTR_CMODEL "cmodel" +#define STR_CMODEL_NORMAL "normal" +#define STR_CMODEL_TINY "tiny" +#define STR_CMODEL_TS "tiny-static" +#define STR_CMODEL_LARGE "large" +#define STR_CMODEL_EXTREME "extreme" + +#endif /* LOONGARCH_STR_H */ |