Going by the riscv instruction technology code, I discovered this remark in this file
// Code generated by ./parse.py -go rv64_a rv64_d rv64_f rv64_i rv64_m rv64_q rv64_zba rv64_zbb rv64_zbs rv_a rv_d rv_f rv_i rv_m rv_q rv_s rv_system rv_v rv_zba rv_zbb rv_zbs rv_zicsr; DO NOT EDIT.
Nonetheless I’m unable to search out such a file referred to as “parse.py” within the golang repo. The place might I discover this explicit program?
In all probability this riscv-opcodes/parse.py at grasp · riscv/riscv-opcodes · GitHub
Hi there!
The parse.py script you’re searching for just isn’t situated inside the principle golang/go repository.
As an alternative, this script is a part of the riscv/riscv-opcodes repository on GitHub. You will discover it right here:
This Python script is used to parse the RISC-V opcode definitions and generate varied outputs, together with Go code (inst.go) that’s seemingly used throughout the Go RISC-V assist libraries.
Subsequently, to search out the parse.py program, you’ll want to look within the riscv/riscv-opcodes repository, not the principle Go repository.