On 25.10.18. 10:49, Aleksandar Markovic wrote: > From: Aleksandar Markovic <amarko...@wavecomp.com> > > Add nanoMIPS CRC32 instruction pool. > > Signed-off-by: Aleksandar Markovic <amarko...@wavecomp.com> > --- > target/mips/translate.c | 10 ++++++++++ > 1 file changed, 10 insertions(+)
Reviewed-by: Stefan Markovic <smarko...@wavecomp.com> > diff --git a/target/mips/translate.c b/target/mips/translate.c > index c44a751..4338b9a 100644 > --- a/target/mips/translate.c > +++ b/target/mips/translate.c > @@ -17475,6 +17475,16 @@ enum { > NM_SOV = 0x7a, > }; > > +/* CRC32 instruction pool */ > +enum { > + NM_CRC32B = 0x00, > + NM_CRC32H = 0x01, > + NM_CRC32W = 0x02, > + NM_CRC32CB = 0x04, > + NM_CRC32CH = 0x05, > + NM_CRC32CW = 0x06, > +}; > + > /* POOL32A5 instruction pool */ > enum { > NM_CMP_EQ_PH = 0x00,