aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/loongarch/loongarch-str.h
blob: 47f761babb21e1dc751138ac7cf5cec96c711d95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/* Generated automatically by "genstr" from "loongarch-strings" and
   "isa-evolution.in".  Please do not edit this file directly.

   Copyright (C) 2021-2024 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_ARCH_ABI_DEFAULT "abi-default"
#define STR_TUNE_GENERIC "generic"
#define STR_CPU_LOONGARCH64 "loongarch64"
#define STR_CPU_LA464 "la464"
#define STR_CPU_LA664 "la664"
#define STR_ARCH_LA64V1_0 "la64v1.0"
#define STR_ARCH_LA64V1_1 "la64v1.1"

#define STR_ISA_BASE_LA64 "la64"

#define OPTSTR_ISA_EXT_FPU "fpu"
#define STR_NONE "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_ISA_EXT_SIMD "simd"
#define STR_ISA_EXT_LSX "lsx"
#define STR_ISA_EXT_LASX "lasx"

#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_MEDIUM "medium"
#define STR_CMODEL_LARGE "large"
#define STR_CMODEL_EXTREME "extreme"

#define OPTSTR_FRECIPE	"frecipe"
#define OPTSTR_DIV32	"div32"
#define OPTSTR_LAM_BH	"lam-bh"
#define OPTSTR_LAMCAS	"lamcas"
#define OPTSTR_LD_SEQ_SA	"ld-seq-sa"

#endif /* LOONGARCH_STR_H */