aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/slti.h
AgeCommit message (Collapse)AuthorFilesLines
2015-04-02Simplify RV32 comparisonsAndrew Waterman1-1/+1
No need to eliminate the upper 32 bits of the 64-bit x-register, as all RV32 instructions should sign-extend their results to 64 bits.
2013-09-27Use WRITE_RD/WRITE_FRD macros to write registersAndrew Waterman1-1/+1
2013-09-11Implement zany immediatesAndrew Waterman1-1/+1
2011-06-19temporary undoing of renamingAndrew Waterman1-0/+1
2011-06-12[sim] renamed to riscv-isa-runAndrew Waterman1-1/+0
2010-11-21[xcc, sim, pk, opcodes] new instruction encoding!Andrew Waterman1-1/+1
2010-09-20[xcc, sim] changed instruction format so imm12 subs for rs2Andrew Waterman1-1/+1
2010-09-09Revert "[xcc, sim] added slei/sleui in lieu of slti/sltiu"Andrew Waterman1-0/+1
This reverts commit bf5406d4df625678bc6ec20ce1d48541541dba54. We found a clever way to efficiently implement slti/sltiu despite the reversed operands. The trick is because of the following fact: (a < b) === !(b <= a) === !(b-1 < a) So just turn off the carry-in when doing the subtraction for the comparison.
2010-09-07[xcc, sim] added slei/sleui in lieu of slti/sltiuAndrew Waterman1-1/+0
Rationale was that since we have the datapath for rc = (ra < rb), it's straightforward to also add rc = !(imm < rb) = (rb <= imm).
2010-07-28[sim,xcc] Changed instruction format to RISC-VAndrew Waterman1-1/+1
Massive changes to gcc, binutils to support new instruction encoding. Simulator reflects these changes.
2010-07-18Reorganized directory structureAndrew Waterman1-0/+1
Moved cross-compiler to /xcc/ rather than / Added ISA sim in /sim/ Added Proxy Kernel in /pk/ (to be cleaned up) Added opcode map to /opcodes/ (ditto) Added documentation to /doc/