From ba1e81171fb761aea9a9a4ccadedf808e34eaae2 Mon Sep 17 00:00:00 2001 From: Aleksandar Markovic <amarkovic@wavecomp.com> Date: Wed, 24 Oct 2018 18:58:42 +0200 Subject: [PATCH] target/mips: Add nanoMIPS CRC32 instruction pool Add nanoMIPS CRC32 instruction pool. Reviewed-by: Stefan Markovic <smarkovic@wavecomp.com> Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com> --- target/mips/translate.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/target/mips/translate.c b/target/mips/translate.c index c44a751be9..4338b9a022 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,