arch-riscv: Add all supporting Z extensions to RISC-V isa string
Change-Id: I809744fc546bc5c0e27380f9b75bdf99f8520583 Signed-off-by: Hoa Nguyen <hn@hnpl.org>
This commit is contained in:
@@ -109,4 +109,15 @@ class RiscvISA(BaseISA):
|
||||
if self.enable_rvv.value == True:
|
||||
isa_extensions.append("v")
|
||||
isa_string = "".join(isa_extensions)
|
||||
|
||||
isa_string += "_Zicbom" # Cache-block Management Instructions
|
||||
isa_string += "_Zicboz" # Cache-block Zero Instruction
|
||||
isa_string += "_Zicntr" # Performance Couter Spec
|
||||
isa_string += "_Zicsr" # RMW CSR Instructions (Privileged Spec)
|
||||
isa_string += "_Zifencei" # FENCE.I Instruction (Unprivileged Spec)
|
||||
isa_string += "_Zihpm" # Performance Couter Spec
|
||||
isa_string += "_Zba" # Address Generation
|
||||
isa_string += "_Zbb" # Basic Bit Manipulation
|
||||
isa_string += "_Zbs" # Single-bit Instructions
|
||||
|
||||
return isa_string
|
||||
|
||||
Reference in New Issue
Block a user