-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
Refactor instruction definitions from macros to classes #302
Refactor instruction definitions from macros to classes #302
Conversation
Reimplemented for instructions `c.lwsp` and `c.flwsp`.
Reimplemented for instructions `c.ldsp` and `c.fldsp`.
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.
It's quite a few additional lines, but that were to be expected. I suspect changing these to structs (removes the public keyword) and potentially removing the Reg_T
templating in the future, that will cut out a lot of the boilerplate in these files.
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.
LGTM apart from the naming nit.
Tip: most editors can enable clang-format on save (e.g. VSCode with https://marketplace.visualstudio.com/items?itemName=xaver.clang-format). Then you'll never run into CI complaining about it! |
I have clang-format enabled on save in Qt Creator but it wouldn't format |
Draft branch for #301.