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
It would be convenient to retrieve the result type from instructions. This functionality would also enable the FunctionBuilder to automatically insert a result value when a user adds an instruction, if desired.
The result type typically depends on the instruction's arguments (and occasionally on the ISA), making it impossible to determine statically. (In other words, a simple extension of the Inst macro would not be sufficient.)
The most straightforward approach might be to introduce a new trait and make it a super trait of the Inst trait.
While I haven't fully explored this approach yet, I’m creating this issue as a placeholder for further discussion and consideration.
The text was updated successfully, but these errors were encountered:
It would be convenient to retrieve the result type from instructions. This functionality would also enable the FunctionBuilder to automatically insert a result value when a user adds an instruction, if desired.
The result type typically depends on the instruction's arguments (and occasionally on the ISA), making it impossible to determine statically. (In other words, a simple extension of the
Inst
macro would not be sufficient.)The most straightforward approach might be to introduce a new trait and make it a super trait of the Inst trait.
While I haven't fully explored this approach yet, I’m creating this issue as a placeholder for further discussion and consideration.
The text was updated successfully, but these errors were encountered: