You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor parse_instruction()
The method for parsing a Duplex or normal instruction are almost the same.
The method should be in InstructionTemplate from which DuplexInstruction and Instruction inherit.
This issue tracks code to refactor.
Documentation of structs should be Doxygen compliant (
//<
instead of//
)Unify "instruction" abbreviation
instr
->insn
.Run
clang-format
also over hand-written files. In case they were edited with indent style ignoring editors (e.g. vim)Enum names are sometimes all uppercase sometimes camel case. Should be all camel case.
Add
const
,RZ_BORROW
etc. qualifiers to all functions.Set internal functions to
RZ_IPI
instead ofRZ_API
Fix grammar/spelling issues (
handwritten
->hand-written
)Move the foloowing pattern in its own function
Move the following pattern in its own function:
Replaced
"..".format()
patterns withf"..."
formatting in Generate instruction templates as C structs #60Add functions which wrap code into a c-block/function/switch-case. (No longer needed since Generate instruction templates as C structs #60?)
Refactor
parse_instruction()
The method for parsing a Duplex or normal instruction are almost the same.
The method should be in
InstructionTemplate
from whichDuplexInstruction
andInstruction
inherit.Methods in question:
rz-hexagon/DuplexInstruction.py
Line 99 in 7df09f5
rz-hexagon/Instruction.py
Line 106 in 7df09f5
Update license date
Remove or include out-commented code (mostly logs)
The text was updated successfully, but these errors were encountered: