Skip to content

Commit 93c8eaa

Browse files
committed
fix order, temporarily disable Zfa
1 parent b7904b7 commit 93c8eaa

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

include/RevFeature.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ enum RevFeatureType : uint32_t {
3535
RV_P = 1 << 9, ///< RevFeatureType: P-Extension
3636
RV_V = 1 << 10, ///< RevFeatureType: V-extension
3737
RV_H = 1 << 11, ///< RevFeatureType: H-extension
38-
RV_ZICSR = 1 << 12, ///< RevFEatureType: Zicsr-extension
39-
RV_ZIFENCEI = 1 << 13, ///< RevFeatureType: Zifencei-extension
40-
RV_ZFA = 1 << 14, ///< RevFeatureType: Zfa-extension
41-
RV_ZICBOM = 1 << 15, ///< RevFeatureType: Zicbom-extension
38+
RV_ZICBOM = 1 << 12, ///< RevFeatureType: Zicbom-extension
39+
RV_ZICSR = 1 << 13, ///< RevFEatureType: Zicsr-extension
40+
RV_ZIFENCEI = 1 << 14, ///< RevFeatureType: Zifencei-extension
41+
RV_ZFA = 1 << 15, ///< RevFeatureType: Zfa-extension
4242
RV_ZFH = 1 << 16, ///< RevFeatureType: H-extension
4343
RV_ZFHMIN = 1 << 17, ///< RevFeatureRtpe: Zfhmin extension
4444
RV_ZTSO = 1 << 18, ///< RevFeatureType: Ztso-extension

src/RevFeature.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@ bool RevFeature::ParseMachineModel() {
6868
{ "P", 0, 2, -1, 0, RV_P }, // Unsupported
6969
{ "V", 1, 0, -1, 0, RV_V | RV_D | RV_F | RV_ZICSR },
7070
{ "H", 1, 0, -1, 0, RV_H }, // Unsupported
71+
{ "Zicbom", 1, 0, 1, 1, RV_ZICBOM },
7172
{ "Zicsr", 2, 0, 2, 2, RV_ZICSR },
7273
{ "Zifencei", 2, 0, 2, 2, RV_ZIFENCEI },
73-
{ "Zfa", 1, 0, 1, 1, RV_ZFA | RV_F | RV_ZICSR },
74-
{ "Zicbom", 1, 0, 1, 1, RV_ZICBOM },
75-
{ "Zfhmin", 1, 0, -1, 0, RV_ZFHMIN | RV_F | RV_ZICSR }, // Unsupported
74+
{ "Zfa", 1, 0, -1, 0, RV_ZFA | RV_F | RV_ZICSR }, // Unsupported
7675
{ "Zfh", 1, 0, -1, 0, RV_ZFH | RV_ZFHMIN | RV_F | RV_ZICSR }, // Unsupported
76+
{ "Zfhmin", 1, 0, -1, 0, RV_ZFHMIN | RV_F | RV_ZICSR }, // Unsupported
7777
{ "Ztso", 1, 0, -1, 0, RV_ZTSO }, // Unsupported
7878
};
7979
// clang-format on

0 commit comments

Comments
 (0)