Re: [Qemu-devel] [PATCH 1/3] decodetree: Allow !function with no input bits

2019-08-09 Thread Richard Henderson
On 8/9/19 8:52 AM, Peter Maydell wrote: >> @@ -195,7 +195,10 @@ class MultiField: >> """Class representing a compound instruction field""" >> def __init__(self, subs, mask): >> self.subs = subs >> -self.sign = subs[0].sign >> +if len(subs): >> +self.si

Re: [Qemu-devel] [PATCH 1/3] decodetree: Allow !function with no input bits

2019-08-09 Thread Peter Maydell
On Fri, 9 Aug 2019 at 16:41, Richard Henderson wrote: > > Call this form a "parameter", returning a value extracted > from the DisasContext. > > Signed-off-by: Richard Henderson > --- > docs/devel/decodetree.rst | 8 - > scripts/decodetree.py | 54 +++