[Libre-soc-bugs] [Bug 1197] `fallthrough` in parser is incorrect

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Nov 2 07:56:20 GMT 2023


--- Comment #2 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jacob Lifshay from comment #0)
> from reading through all occurrences of `switch` in Power ISA v3.1B (there
> aren't many), I think our parser incorrectly implements it:
> mtspr:
>     switch (n)
>       case(129): see(Book_III_p975)
>       case(808, 809, 810, 811):
>       default:
>         stuff-here

we'll have to check the spec, see what is intended, first.

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

More information about the libre-soc-bugs mailing list