• Customize the RiscV ASM generation I am interested in emit customized RiscV asm instructions to support some customized instructions and data section items. • After some research and GPT seaches, it seems that I can modify the RiscVAsmPrinter or go MC level. • It seems that AsmPrinter will require much bigger effort compared to MC level. • But i am not sure if MC level can get the job done. • What i am thinking are: support customerize instructions support data items (e.g. • constant pool or lookup table generation) from customized instruction.
Article Summaries:
- I am interested in emit customized RiscV asm instructions to support some customized instructions and data section items. After some research and GPT seaches, it seems that I can modify the RiscVAsmPrinter or go MC level. It seems that AsmPrinter will require much bigger effort compared to MC level. But i am not sure if MC level can get the job done. What i am thinking are: - support customerize instructions - support data items (e.g. constant pool or lookup table generation) from customized instruction. I’d like to learn from experts that which layer is better choice to support those above re
Sources:
- https://discourse.llvm.org/t/customize-the-riscv-asm-generation/89970 (Latest source article published: 2026-02-24 22:51 UTC)