Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
14 | pmbaty | 1 | #ifndef LOONGARCH_FEATURE |
2 | #define LOONGARCH_FEATURE(NAME, KIND) |
||
3 | #endif |
||
4 | |||
5 | LOONGARCH_FEATURE("invalid", FK_INVALID) |
||
6 | LOONGARCH_FEATURE("none", FK_NONE) |
||
7 | LOONGARCH_FEATURE("+64bit", FK_64BIT) |
||
8 | LOONGARCH_FEATURE("+f", FK_FP32) |
||
9 | LOONGARCH_FEATURE("+d", FK_FP64) |
||
10 | LOONGARCH_FEATURE("+lsx", FK_LSX) |
||
11 | LOONGARCH_FEATURE("+lasx", FK_LASX) |
||
12 | LOONGARCH_FEATURE("+lbt", FK_LBT) |
||
13 | LOONGARCH_FEATURE("+lvz", FK_LVZ) |
||
14 | |||
15 | #undef LOONGARCH_FEATURE |
||
16 | |||
17 | #ifndef LOONGARCH_ARCH |
||
18 | #define LOONGARCH_ARCH(NAME, KIND, FEATURES) |
||
19 | #endif |
||
20 | |||
21 | LOONGARCH_ARCH("invalid", AK_INVALID, FK_INVALID) |
||
22 | LOONGARCH_ARCH("loongarch64", AK_LOONGARCH64, FK_64BIT | FK_FP32 | FK_FP64) |
||
23 | LOONGARCH_ARCH("la464", AK_LA464, FK_64BIT | FK_FP32 | FK_FP64 | FK_LSX | FK_LASX) |
||
24 | |||
25 | #undef LOONGARCH_ARCH |