On 11/18/20 12:29 AM, frank.ch...@sifive.com wrote: > -slli 00.... ...... ..... 001 ..... 0010011 @sh > -srli 00.... ...... ..... 101 ..... 0010011 @sh > -srai 01.... ...... ..... 101 ..... 0010011 @sh > +slli 000000 ...... ..... 001 ..... 0010011 @sh > +srli 000000 ...... ..... 101 ..... 0010011 @sh > +srai 010000 ...... ..... 101 ..... 0010011 @sh
We need at least 7 bits here for rv128, if we ever get around to it. The code in trans_slli et al already eliminates numbers that are two large. In the rvb draft, only 5 bits are used in the uppermost field. Let's leave it at that. r~