[Libre-soc-dev] v3.1B prefix
Jacob Lifshay
programmerjake at gmail.com
Mon Dec 14 07:43:38 GMT 2020
On Sun, Dec 13, 2020, 23:18 Luke Kenneth Casson Leighton <lkcl at lkcl.net>
wrote:
> On 12/14/20, Alexandre Oliva <oliva at gnu.org> wrote:
>
> > 32-bit uncompressed instructions: 109169
> > 16-bit compressed instructions: 7732
> > 16-imm compressed-mode instructions: 14509
> > 10-bit compressed instructions: 4057
> >
> > 10-bit mode-switching nops: 3398
> > 10-bit mode-switching nops for imm-16: 10821
> > 16-bit mode-switching nops after imm-16: 1876
> >
> > 10-bit nop+16-imm pairs above, backtracked to 32-bit: 9171
> >
> > Compressed size estimate: 521462
> > Original size: 541868
> > Compressed/original ratio: 0.962341
>
Maybe we should try to do something like make a genetic machine learning
algorithm to decide which instructions and which immediate sizes to use?
https://en.wikipedia.org/wiki/Genetic_algorithm
We could use some combination of compression ratio and decoder complexity
as the fitness function
Jacob
>
More information about the Libre-soc-dev
mailing list