[Libre-soc-bugs] [Bug 1094] insndb instruction database visitor-walker is needed

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Jun 23 00:18:19 BST 2023


--- Comment #231 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Dmitry Selyutin from comment #229)

> Here's the relevant commit:
> https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;
> h=bf208c7a6548cf6ae6ce33977a2fb8e3a463114a. The implementation is somewhat
> less obvious than when we cheat, but is interesting for demonstration
> purposes.

yeah it's really short.  suggestion, initialise index to 0
then increment *after* the yield.  set to -1 then increment
before is counter-intuitive.

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

More information about the libre-soc-bugs mailing list