riscv_isac/InstructionObject.py defines the following lists:
unsgn_rs1...instructions that have an unsigned rs1 value
unsgn_rs2...instructions that have an unsigned rs2 value
f_instrs_pref...floating-point instructions (without postfixes)
The idea is that the API gets the instruction in the form of a string (e.g. fadd.s or xor), and the code makes decisions based on the instruction.
However, instead of having yet another unmaintained list of instructions that is out of date within a few weeks, the code should be rewritten to use proper (keyword) arguments. In this particular case the name of these parameters are already in the name of the lists above.