summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorGravatar Andrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2010-09-13 18:00:08 -0700
committerGravatar Andrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2010-09-13 18:00:08 -0700
commit67bd7134c4583dc8cda7c7253303837b45286d15 (patch)
tree8fe09974e8ceb69289fed1f65c3044a2068de9d4 /opcodes
parent53600108cc24cc14b1c0f04666f27ffc1b3ff681 (diff)
[xcc, sim] replaced ble/bleu with bge/bgeu
This will simplify control logic (since every branch has a logical inverse)
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes8
1 files changed, 4 insertions, 4 deletions
diff --git a/opcodes b/opcodes
index e04f866..b848061 100644
--- a/opcodes
+++ b/opcodes
@@ -15,10 +15,10 @@ lui 31..25=0x71 xa imm20
beq 31..25=0x73 14..12=0 xa xb imm
bne 31..25=0x73 14..12=1 xa xb imm
-blt 31..25=0x73 14..12=2 xa xb imm
-bltu 31..25=0x73 14..12=3 xa xb imm
-ble 31..25=0x73 14..12=4 xa xb imm
-bleu 31..25=0x73 14..12=5 xa xb imm
+blt 31..25=0x73 14..12=4 xa xb imm
+bge 31..25=0x73 14..12=5 xa xb imm
+bltu 31..25=0x73 14..12=6 xa xb imm
+bgeu 31..25=0x73 14..12=7 xa xb imm
addi 31..25=0x74 14..12=0 xa xb imm
slti 31..25=0x74 14..12=2 xa xb imm