summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorGravatar Andrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2010-09-07 16:04:57 -0700
committerGravatar Andrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2010-09-07 16:04:57 -0700
commit87ae9bc7df58d6b0610b2b8bec0a3dcdb61ecf0b (patch)
treececbe76146bb96d4b848aa14a7cd951e994c2230 /opcodes
parent1ea0a57383d9df9ea50fd163d64fb4033b44bb92 (diff)
[xcc, sim] added slei/sleui in lieu of slti/sltiu
Rationale was that since we have the datapath for rc = (ra < rb), it's straightforward to also add rc = !(imm < rb) = (rb <= imm).
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes b/opcodes
index 96ea4a5..97a7eef 100644
--- a/opcodes
+++ b/opcodes
@@ -22,8 +22,8 @@ bleu 31..25=0x73 14..12=5 ra rb imm
addi 31..25=0x74 14..12=0 ra rb imm
addiw 31..25=0x74 14..12=1 ra rb imm
-slti 31..25=0x74 14..12=2 ra rb imm
-sltiu 31..25=0x74 14..12=3 ra rb imm
+slei 31..25=0x74 14..12=2 ra rb imm
+sleiu 31..25=0x74 14..12=3 ra rb imm
andi 31..25=0x74 14..12=4 ra rb imm
ori 31..25=0x74 14..12=5 ra rb imm
xori 31..25=0x74 14..12=6 ra rb imm