diff --git a/src/main/scala/rocket/Instructions.scala b/src/main/scala/rocket/Instructions.scala index da31c20a25b..f79388f64ad 100644 --- a/src/main/scala/rocket/Instructions.scala +++ b/src/main/scala/rocket/Instructions.scala @@ -85,12 +85,16 @@ object Instructions { def C_LUI = BitPat("b????????????????011???????????01") def C_LW = BitPat("b????????????????010???????????00") def C_LWSP = BitPat("b????????????????010???????????10") + def C_MUL = BitPat("b????????????????100111???10???01") def C_MV = BitPat("b????????????????1000??????????10") def C_NOP = BitPat("b????????????????000?00000?????01") + def C_NOT = BitPat("b????????????????100111???1110101") def C_OR = BitPat("b????????????????100011???10???01") def C_SB = BitPat("b????????????????100010????????00") def C_SD = BitPat("b????????????????111???????????00") def C_SDSP = BitPat("b????????????????111???????????10") + def C_SEXT_B = BitPat("b????????????????100111???1100101") + def C_SEXT_H = BitPat("b????????????????100111???1101101") def C_SH = BitPat("b????????????????100011???0????00") def C_SLLI = BitPat("b????????????????000???????????10") def C_SRAI = BitPat("b????????????????100?01????????01") @@ -100,6 +104,9 @@ object Instructions { def C_SW = BitPat("b????????????????110???????????00") def C_SWSP = BitPat("b????????????????110???????????10") def C_XOR = BitPat("b????????????????100011???01???01") + def C_ZEXT_B = BitPat("b????????????????100111???1100001") + def C_ZEXT_H = BitPat("b????????????????100111???1101001") + def C_ZEXT_W = BitPat("b????????????????100111???1110001") def CBO_CLEAN = BitPat("b000000000001?????010000000001111") def CBO_FLUSH = BitPat("b000000000010?????010000000001111") def CBO_INVAL = BitPat("b000000000000?????010000000001111") @@ -1734,4 +1741,4 @@ object CSRs { res += mhpmcounter31h res.toArray } -} +} \ No newline at end of file