From 157d7aafa998a05f76d33d542388e1e789bf0557 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Wed, 31 Jul 2013 16:00:53 -0700 Subject: Swap J and JALR encodings --- opcodes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'opcodes') diff --git a/opcodes b/opcodes index 2699902..f5ba9f4 100644 --- a/opcodes +++ b/opcodes @@ -7,10 +7,10 @@ # is one of rd, rs1, rs2, rs3, imm25, imm20, imm12, imm12lo, imm12hi, # shamtw, shamt, rm -j imm25 6..2=0x19 1..0=3 +j imm25 6..2=0x1A 1..0=3 jal imm25 6..2=0x1B 1..0=3 -jalr rd rs1 imm12 9..7=0 6..2=0x1A 1..0=3 +jalr rd rs1 imm12 9..7=0 6..2=0x19 1..0=3 beq imm12hi rs1 rs2 imm12lo 9..7=0 6..2=0x18 1..0=3 bne imm12hi rs1 rs2 imm12lo 9..7=1 6..2=0x18 1..0=3 -- cgit v1.2.3