From c546f66404bba8e7e32fb9a83827738e9ea40dcf Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Mon, 13 Jan 2014 00:54:49 -0800 Subject: [PATCH] Swap JAL/JALR encodings (again) --- rocket/src/main/scala/instructions.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rocket/src/main/scala/instructions.scala b/rocket/src/main/scala/instructions.scala index 98d1f4b5..5acb84a8 100644 --- a/rocket/src/main/scala/instructions.scala +++ b/rocket/src/main/scala/instructions.scala @@ -5,8 +5,8 @@ import Node._ /* Automatically generated by parse-opcodes */ object Instructions { - def JAL = Bits("b?????????????????????????1100111") - def JALR = Bits("b?????????????????000?????1101111") + def JAL = Bits("b?????????????????????????1101111") + def JALR = Bits("b?????????????????000?????1100111") def BEQ = Bits("b?????????????????000?????1100011") def BNE = Bits("b?????????????????001?????1100011") def BLT = Bits("b?????????????????100?????1100011")