[Libre-soc-bugs] [Bug 838] sync or at least statically check fields.text, power_decoder, trans/svp64, CSVs between each other

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Aug 6 10:21:14 BST 2022


https://bugs.libre-soc.org/show_bug.cgi?id=838

--- Comment #24 from Dmitry Selyutin <ghostmansd at gmail.com> ---
(In reply to Dmitry Selyutin from comment #23)
> This is more valid argument, because it's not "greppable". As I mentioned,
> OP_ prefix is redundant to keep in the internal representation. So it's
> dropped, but still enum works it out via _missing_ method. I can make it
> more explicit and introduce a mapping like {"OP_A": MicrOp.A, "OP_B":
> MicrOp.B}. Or even in the enum itself, OP_A = A. I'd be surprized if it's
> difficult to find what happens even now, but I can do it for explicitness.

https://git.libre-soc.org/?p=openpower-isa.git;a=blobdiff;f=src/openpower/decoder/power_enums.py;h=03987fb774f0fd4171bbe4883c86c8eb55dc828f;hp=2191f83a0cde7329e722b81b1c9695d40c14f1d1;hb=3f36bfca31abd8d5f09131d7c09554a8bdd82cf5;hpb=dc7bc2e53cff0b5bc442a15955c61bc825d3b69c

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list