[Libre-soc-isa] [Bug 1161] EXTRA2/3 algorithm likely inconsistent with EXTRA2 tables causing PowerDecoder2 and insndb to disagree on scalar EXTRA2 register encoding for >=r32

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Sep 21 03:57:26 BST 2023


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

--- Comment #17 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jacob Lifshay from comment #16)
> (In reply to Luke Kenneth Casson Leighton from comment #15)
> > https://libre-soc.org/openpower/sv/svp64/
> > https://libre-soc.org/openpower/sv/svp64/appendix
> 
> ok, I changed both the INT/FP and CR EXTRA2 algorithms:
> 
> https://git.libre-soc.org/?p=libreriscv.git;a=commitdiff;
> h=7a232bcca2fafd3696ab01598ec9aac42d7db825

ahh that's more like it. coment could do with being

 # vector mode r0-r126 increments of 2 (something like that)
 # scalar mode r0-r63

> I reverted all recent changes to power_svp64_extra.py and made minimal
> changes that make tests pass and match the wiki commit above:
> 
> https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;
> h=3a7959910dd014c68427bb80b58bbd5e09e4d9e8

brilliant, that's really clear. the introduction of extra2_lsb
makes it easy to know what is happening. and fixes the bug. great work.

ok i am happy with this, feel free to rebase.
and let's transfer over the budget from bug #1083

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


More information about the Libre-SOC-ISA mailing list