[Libre-soc-bugs] [Bug 898] binutils svp64 objdump support

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Aug 26 23:40:00 BST 2022


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

--- Comment #19 from Dmitry Selyutin <ghostmansd at gmail.com> ---
Yet another iteration, summary below.

1. From now on, we indeed pass the reference to the same selectable int
throughout each and every field.
2. All fields are immutable; there are no real instances that need to be
created upon field access, except for the thin references to the field.
3. Fixed many issues, including field assignment, field iteration, boundary
checks, representation, etc.
4. Massive code cleanup; now this should be quite straightforward to follow it
(assuming the reader can dig up the concepts like metaclasses and descriptors).
5. Migrated parts of the code: power_insn, pysvp64asm.

test_caller_svp64.py is OK.

Definitions for the new classes:
https://git.libre-soc.org/?p=openpower-isa.git;a=commit;h=c2f5bc883ca4f12ccf7f9145c2ccd9be3d989bc3

Expected usage for the new classes:
https://git.libre-soc.org/?p=openpower-isa.git;a=commit;h=0753414eea9bbd9bd6380969b4356d907c1dcbc4

Again, note that it is no longer needed to specify the size of the integer
manually. The classes take care of these checks and possible conversions.

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


More information about the libre-soc-bugs mailing list