[Libre-soc-bugs] [Bug 671] convert spec pseudocode to use XLEN width
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Mon Aug 30 13:16:27 BST 2021
https://bugs.libre-soc.org/show_bug.cgi?id=671
--- Comment #36 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Luke Kenneth Casson Leighton from comment #35)
> https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=src/openpower/
> decoder/pseudo/parser.py;h=03d0fd5e6aca7128ecfa2d42d36be84e0ca0d353;
> hb=b3061c38ef984418e266c6f74b366a7e953840a5#l179
>
> identify selectable int multiply pattern is not able to recognise
>
> [0] * (expression)
>
> only a Constant.
sorted.
commit 73d15d3c4c5550ef85fbd1ea68b9afca2500d0bd
Author: Luke Kenneth Casson Leighton <lkcl at lkcl.net>
Date: Mon Aug 30 13:05:59 2021 +0100
also add pattern-recognition for just
[0] * XLEN
have to keep a close eye on this
commit 39a0dc7397c592b4b53631b2284d142fd20ac485
Author: Luke Kenneth Casson Leighton <lkcl at lkcl.net>
Date: Mon Aug 30 13:03:53 2021 +0100
fix pattern-match for an expression such as "XLEN-16" when looking
for concat substitutions
[item] * NUMBER was replaced with
concat(item, repeat=NUMBER)
but [item] * (XLEN-16) was not matching
by adding a HACK which spots ast.Binop then [item]*(XLEN-16) can be
recognised
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list