-
Notifications
You must be signed in to change notification settings - Fork 11
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
[EraVM][MC] Add missing variants of NOP instruction #571
Conversation
This implements the idea proposed in #483: make the backend able to represent any After the renaming takes place, the lines
will be replaced by
Note that these are not "mnemonic aliases" and not even aliases for the specific 11-bit opcode: for example
is
is not. @hedgar2017 Is such usage of aliases acceptable? |
Benchmark results:
|
Looks reasonable to me. @sayon Will you please check the desired syntax in the tests? |
b0f1e15
to
e089f1f
Compare
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.
@sayon do we have a single source of truth for modifiers, where we can revamp them just like main mnemonics?
@hedgar2017 Do you mean aliases (like |
I am making a summary of concrete syntax ATM will include everything there @hedgar2017 |
66bf411
to
50429b0
Compare
f1d239d
to
9daff43
Compare
9daff43
to
c3a7be0
Compare
@hedgar2017 Which changes are planned to this PR? |
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.
@atrosinenko LGTM. Our changes only touch the other PR apparently.
Make NOP support the remaining combinations of operands. Reorganize the tests: add `nop.(s|txt)` test files similar to those for arithmetic instructions, put the test cases for `nop`, `incsp` and `decsp` aliases to `sp-changes.(s|txt)` files.
c3a7be0
to
b3095d7
Compare
Make NOP support the remaining combinations of operands.
Reorganize the tests: add
nop.(s|txt)
test files similar to those for arithmetic instructions, put the test cases fornop
,incsp
anddecsp
aliases tosp-changes.(s|txt)
files.