Fix nonexhaustive match causing funct3 to not be applied to imm shifts
This commit is contained in:
parent
de7d01f710
commit
6fa8d3537a
3 changed files with 21 additions and 23 deletions
|
@ -119,7 +119,7 @@ object PrintUtils {
|
|||
|
||||
|
||||
def printBinary(bin: Map[Addr, Int]): String = {
|
||||
bin.toList.sortBy(_._1.value).map{ case(addr, op) => s"$addr: ${op.hs}" }.mkString("\n","\n","\n")
|
||||
bin.toList.sortBy(_._1.value).map{ case(addr, op) => s"$addr: ${op.hs}\t--\t${op.binary}" }.mkString("\n","\n","\n")
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue