-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Labels
enhancementNew feature or requestNew feature or requestgeneratorsRelated to backend/generatorRelated to backend/generator
Description
Is your feature request related to a problem? Please describe.
Add a generator for RISC-V dependency files used in the Capstone project. These dependency files are human written and can benefit from being generated by UDB.
Describe the solution you'd like
The following files are candidates for being automatically generated:
include/capstone/riscv.h- The following switch case in RISCVInstPrinter.c. However, the following CSRs are missing in UDB to be completely generated:
ustatus, uie, utvec, uscratch, uepc, ucause, utval, uip, sedeleg, sideleg, sie, dscratch RISCVMappingInsn.inc,RISCVMappingInsnOp.inc- Instruction definition tables
These files are currently being generated using TableGen by LLVM, but can be generated through UDB as well:
arch/RISCV/RISCVGenAsmWriter.incarch/RISCV/RISCVGenDisassemblerTables.incarch/RISCV/RISCVGenInsnNameMaps.inc
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgeneratorsRelated to backend/generatorRelated to backend/generator
Type
Projects
Status
In progress