rv_zimop/rv_zcmop - rename mneumonics to use all lowercase & simplify operand names - #417
rv_zimop/rv_zcmop - rename mneumonics to use all lowercase & simplify operand names#417robinali-codasip wants to merge 2 commits into
Conversation
* mop.r{r}.N -> mop.r{r}.n to keep consistency
* mop_r{r}_t -> mop_r{r}
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #417 +/- ##
=======================================
Coverage 97.08% 97.09%
=======================================
Files 14 14
Lines 926 929 +3
=======================================
+ Hits 899 902 +3
Misses 27 27 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
30b1ac6 to
388b857
Compare
388b857 to
75aa877
Compare
Andrew Waterman (aswaterman)
left a comment
There was a problem hiding this comment.
This is a backwards-incompatible change for downstream users, and it isn't clear to me that it's necessary. It is true that the N is unusual, but there is an arguable justification for that: there is no such instruction mnemonic as c.mop.N, as the N is a placeholder for an integer in the mnemonic.
|
Andrew Waterman (@aswaterman) I agree that it's not ideal for backwards compatibility, but I am not convinced myself that improvements can be ignored in favour of maintaining it. Would you be more likely to accept a change if I also removed the pseudo definitions and make each instruction its own entry? i.e |
|
I guess I'm not sure I agree it's an improvement. What's the problem, exactly, aside from an apparent inconsistency? (And as I wrote above, I still think the inconsistency is justified since N is a placeholder for an integer, rather than part of an official mnemonic.) Getting rid of |
|
I understand that getting rid of |
|
OK, well, I'm on record not supporting that change. |
Same for c.mop.n
Issue #416 - Change from pseudo is not implemented here so favour for that would be appreciated here