From 87ae9bc7df58d6b0610b2b8bec0a3dcdb61ecf0b Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Tue, 7 Sep 2010 16:04:57 -0700 Subject: [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). --- opcodes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'opcodes') 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 -- cgit v1.2.3