Skip to content

Commit 544ea6b

Browse files
authored
[RISC-V] Add RVA23 profile (#419)
Add recently ratified RVA23 to coredistools for future implementations. Part of dotnet/runtime#84834, cc @dotnet/samsung
1 parent 1aa85f1 commit 544ea6b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/coredistools/coredistools.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -375,10 +375,11 @@ bool CorDisasm::init() {
375375
// string "+all" to just enable all features, even those not implemented in any current CPU.
376376
FeaturesStr = "+all";
377377
} else if (TheTargetArch == Target_RiscV64) {
378-
FeaturesStr = "+m,+a,+f,+d,+c,+zicsr,+zifencei," // RV64GC
379-
"+zicntr,+zihpm,+ziccif,+ziccrse,+ziccamoa,+zicclsm,+za64rs," // RVA20
380-
"+b,+zihintpause,+zic64b,+zicbom,+zicbop,+zicboz,+zfhmin,+zkt," // RVA22 mandatory
381-
"+v,+zfh,+zkn,+zks"; // RVA22 optional
378+
FeaturesStr = "+rva23u64,"
379+
"+zkn,+zks," // RVA22-only options, superseded with "+zvkng,+zvksg" vector equivalents in RVA23
380+
"+zvkng,+zvksg," // RVA23 localized options
381+
"+zabha,+zacas,+zvbc,+zama16b," // RVA23 development options
382+
"+zbc,+zfh,+zvfh,+zfbfmin,+zvfbfmin,+zvfbfwma"; // RVA23 expansion options
382383
}
383384

384385
STI.reset(TheTarget->createMCSubtargetInfo(TargetTriple, Mcpu, FeaturesStr));

0 commit comments

Comments
 (0)