Skip to content

Commit 12e7628

Browse files
Claudiu Zissulescuartemiy-volkov
authored andcommitted
RISC-V: Minimal support of ZC extensions.
1 parent 2c81029 commit 12e7628

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bfd/elfxx-riscv.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,8 +1211,10 @@ static struct riscv_implicit_subset riscv_implicit_subsets[] =
12111211

12121212
{"zcb", "+zca", check_implicit_always},
12131213
{"zcd", "+d,+zca", check_implicit_always},
1214+
{"zce", "+zca,+zcb,+zcf,+zcmp,+zcmt", check_implicit_always},
12141215
{"zcf", "+f,+zca", check_implicit_always},
12151216
{"zcmp", "+zca", check_implicit_always},
1217+
{"zcmt", "+zca", check_implicit_always},
12161218

12171219
{"shcounterenw", "+h", check_implicit_always},
12181220
{"shgatpa", "+h", check_implicit_always},
@@ -1418,9 +1420,11 @@ static struct riscv_supported_ext riscv_supported_std_z_ext[] =
14181420
{"ztso", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 },
14191421
{"zca", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 },
14201422
{"zcb", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 },
1423+
{"zce", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 },
14211424
{"zcf", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 },
14221425
{"zcd", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 },
14231426
{"zcmp", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 },
1427+
{"zcmt", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 },
14241428
{NULL, 0, 0, 0, 0}
14251429
};
14261430

0 commit comments

Comments
 (0)