Re: [Qemu-devel] [RFC 01/23] scripts: Add decodetree.py

2018-01-13 Thread Peter Maydell
On 13 January 2018 at 17:14, Bastian Koppelmann wrote: > Hi Richard, > > +# Field examples: > +# > +# %disp 0:s16 -- sextract(i, 0, 16) > +# %imm9 16:6 10:3 -- extract(i, 16, 6) << 3 | extract(i, 10, 3) > > startindex:endindex for unnamed_field is more intuitive. As any ISA >

Re: [Qemu-devel] [RFC 01/23] scripts: Add decodetree.py

2018-01-13 Thread Bastian Koppelmann
Hi Richard, +# Field examples: +# +# %disp 0:s16 -- sextract(i, 0, 16) +# %imm9 16:6 10:3 -- extract(i, 16, 6) << 3 | extract(i, 10, 3) startindex:endindex for unnamed_field is more intuitive. As any ISA manual would specify those. +# +# It is recommended, but not required,