-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft Instruction Object Model #514
Conversation
/** Generate documentation for each instructions for T1. | ||
* The documentation should contain the behavior for instruction in a specific configuration in T1. | ||
*/ | ||
case class InstructionDocumentation(instruction: Instruction, t1Parameter: T1Parameter) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is how to start to review the decoder: adding documentation to each instructions. Describing the lifetime of each instruction in a specific type of T1.
After finish this review, a clear documentation will be a artifact.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we may also add attributes here parameters? I'm not sure.
t1/src/decoder/T1DecodePattern.scala
Outdated
// Below is the Scala in-memory attributes queried from DecodeTable. | ||
def isVector = instruction.instructionSet.name == "rv_v" | ||
// TODO: we can even use a Enum here. | ||
def useLaneExec: String = ??? | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add attribute like this.
8bce0bc
to
9f0f162
Compare
@Lucas-Wye This will be 2 weeks work, let's finish it during next two weeks, It should be the first round of GSoC project. |
22a03b9
to
8c988e7
Compare
No description provided.