[Libre-soc-dev] demo of 16/32/48/64-bit LE/BE backward-compatible encoding

Jacob Lifshay programmerjake at gmail.com
Thu Nov 26 17:43:13 GMT 2020


On Thu, Nov 26, 2020, 03:35 Luke Kenneth Casson Leighton <lkcl at lkcl.net>
wrote:

> On Thu, Nov 26, 2020 at 5:10 AM Jacob Lifshay <programmerjake at gmail.com>
> wrote:
> >
> > On Wed, Nov 25, 2020 at 6:10 PM Luke Kenneth Casson Leighton
> > <lkcl at lkcl.net> wrote:
> > >
> > > On 11/26/20, Luke Kenneth Casson Leighton <lkcl at lkcl.net> wrote:
> > > > On 11/26/20, Jacob Lifshay <programmerjake at gmail.com> wrote:
> > > >> I added colors to the demo encoding, hopefully making it easier to
> > > >> follow:
> > > >> https://libre-soc.org/openpower/sv/16_bit_compressed/demo/
> > > >>
> > >
> > > oh, one other thing that would help is: in the last column, in front
> > > of (or after, doesn't matter) would be to include the byte index of
> > > the instruction.
> > >
> > > padd [0]
> > > padd [1]
> >
> > I added something like that, as well as adding a column for the
> > decoder mode for the current instruction and highlighting the main
> > opcode byte.
>
> 0x1000+0/1/2/3 etc. brilliant.  ah: last piece of "clarity"
> information missing is of course the sequence number (aka "program
> order")
>

The 0x1000+0/1/2/... column, the 0x1000 is the PC (also has column header
"PC"), which counts in the program order. The sum counts bytes in PC order.
I'm assuming readers can count in hexadecimal. :)

Jacob


More information about the Libre-soc-dev mailing list