projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
808ebd6
)
target/mips: Add nanoMIPS CRC32 instruction pool
author
Aleksandar Markovic
<amarkovic@wavecomp.com>
Wed, 24 Oct 2018 16:58:42 +0000
(18:58 +0200)
committer
Aleksandar Markovic
<amarkovic@wavecomp.com>
Thu, 25 Oct 2018 20:13:33 +0000
(22:13 +0200)
Add nanoMIPS CRC32 instruction pool.
Reviewed-by: Stefan Markovic <smarkovic@wavecomp.com>
Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
target/mips/translate.c
patch
|
blob
|
history
diff --git
a/target/mips/translate.c
b/target/mips/translate.c
index c44a751be973e067310f9a9904b19f7bf8738d4c..4338b9a02228c3e9dc4278f1da72fbcb222a4020 100644
(file)
--- 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,