Specification and Checking of don't care bits in Instruction Encodings #202
AndreasKrall
started this conversation in
General
Replies: 2 comments 1 reply
-
|
Are we talking about the fact that the format field has never been used in an instruction, or that not all instructions use the format field? To mute warnings/compile errors, many languages use underscore |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
In the meeting on May 7th we agreed to implement the version with underscore |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In VADL it is necessary to specify the instruction behavior and the encoding. Currently it is not required and it is not checked if format fields are either used in the behavior specification or are set in the encoding of a concrete instruction. Take the following example:
In the example
scaleis neither used nor set to a fixed value. Should the type checker issue a warning, an error or is this a correct specification. Should it be possible to define don't care bits likescale = DontCareor an annotation[DontCare : scale]or is it required that unused bits always have to be set.What is your opinion?
Beta Was this translation helpful? Give feedback.
All reactions