Commit Graph

168 Commits

Author SHA1 Message Date
Donald Sebastian Leung 3eaed129c2 Begin re-organization of project structure 2020-08-06 12:36:01 +08:00
dsleung 1d315b4735 Merge pull request 'Refactor supported instructions to improve code reuse' (#1) from feature/refactor-insns into master
Merging since the current state of `insns/` is a clear improvement over the previous state in terms of maintainability and code duplication, though further refactoring is required which will happen in the next pull request.
2020-08-06 09:47:30 +08:00
Donald Sebastian Leung 7c60451bfa Add README for instructions 2020-08-05 12:54:46 +08:00
Donald Sebastian Leung c4e30e9c55 Add REMU instruction 2020-08-04 17:17:37 +08:00
Donald Sebastian Leung af8704cea0 Add REM instruction 2020-08-04 17:14:46 +08:00
Donald Sebastian Leung 78fb149761 Add DIVU instruction 2020-08-04 17:12:13 +08:00
Donald Sebastian Leung 2a809073a5 Add DIV instruction 2020-08-04 17:09:21 +08:00
Donald Sebastian Leung 7b39ce135f Add MULHU instruction 2020-08-04 17:06:49 +08:00
Donald Sebastian Leung ee38e3a61d Add MULHSU instruction 2020-08-04 17:04:04 +08:00
Donald Sebastian Leung a26813835f Add MULH instruction 2020-08-04 17:00:43 +08:00
Donald Sebastian Leung e1bbf567c2 Add MUL instruction 2020-08-04 16:57:43 +08:00
Donald Sebastian Leung aa47b866a1 Add AND instruction 2020-08-04 12:54:46 +08:00
Donald Sebastian Leung 9429403616 Add OR instruction 2020-08-04 12:51:48 +08:00
Donald Sebastian Leung a3a9592c19 Add SRA instruction 2020-08-04 12:47:35 +08:00
Donald Sebastian Leung 907f7240bf Add SRL instruction 2020-08-04 12:42:39 +08:00
Donald Sebastian Leung 0c7c929983 Add XOR instruction 2020-08-04 12:39:20 +08:00
Donald Sebastian Leung cf9e1c741c Add SLTU instruction 2020-08-04 12:37:26 +08:00
Donald Sebastian Leung 4d313ed54a Add SLT instruction 2020-08-04 12:34:06 +08:00
Donald Sebastian Leung a6a09ac120 Add SLL instruction 2020-08-04 12:31:36 +08:00
Donald Sebastian Leung 67c57c4d7d Add SUB instruction 2020-08-04 12:25:12 +08:00
Donald Sebastian Leung aad9a3f2b5 Add ADD instruction 2020-08-04 12:20:52 +08:00
Donald Sebastian Leung 3abdcf07d2 Add R-type instruction format 2020-08-04 12:06:01 +08:00
Donald Sebastian Leung 19099edee3 Add SRAI instruction 2020-08-03 15:10:58 +08:00
Donald Sebastian Leung eaf475ee04 Add SRLI instruction 2020-08-03 14:54:02 +08:00
Donald Sebastian Leung 0234b65890 Add SLLI instruction 2020-08-03 14:51:36 +08:00
Donald Sebastian Leung a9cff77a82 Add I-type (shift variation) instruction format 2020-08-03 14:44:33 +08:00
Donald Sebastian Leung c3821bc885 Add SW instruction 2020-08-03 14:29:52 +08:00
Donald Sebastian Leung 948a3db1c1 Add SH instruction 2020-08-03 14:27:08 +08:00
Donald Sebastian Leung 84454e7048 Add SB instruction 2020-08-03 14:23:40 +08:00
Donald Sebastian Leung eebb39ee27 Add S-type instruction format 2020-08-03 14:15:09 +08:00
Donald Sebastian Leung 5a78e7aba0 Fix copyright holder in license 2020-08-03 12:19:14 +08:00
Donald Sebastian Leung 62ae797737 Add BGEU instruction 2020-08-03 11:33:57 +08:00
Donald Sebastian Leung 596d7fcf6d Add BLTU instruction 2020-08-03 11:30:16 +08:00
Donald Sebastian Leung f6008f3096 Add BGE instruction 2020-08-03 10:42:27 +08:00
Donald Sebastian Leung 8d1b070a02 Add BLT instruction 2020-08-03 10:38:54 +08:00
Donald Sebastian Leung 680042b9ee ADD BNE instruction 2020-08-03 10:33:45 +08:00
Donald Sebastian Leung 486c77a108 Fix BEQ instruction 2020-08-03 10:29:17 +08:00
Donald Sebastian Leung c17ccdf897 Add BEQ instruction 2020-08-03 10:28:01 +08:00
Donald Sebastian Leung 33ecb317b2 Add SB-type instruction 2020-08-03 10:19:01 +08:00
Donald Sebastian Leung 663b0b3b48 Add ANDI instruction 2020-07-31 16:51:59 +08:00
Donald Sebastian Leung 912580dda8 Add ORI instruction 2020-07-31 16:49:59 +08:00
Donald Sebastian Leung bf80a13d55 Add XORI instruction 2020-07-31 16:48:00 +08:00
Donald Sebastian Leung e49476746e Add SLTIU instruction 2020-07-31 16:45:15 +08:00
Donald Sebastian Leung 305d2195be Add SLTI instruction 2020-07-31 16:42:29 +08:00
Donald Sebastian Leung a9bc0629bd Add ADDI instruction 2020-07-31 16:39:32 +08:00
Donald Sebastian Leung cf8033a8bb Add LHU instruction 2020-07-31 16:35:06 +08:00
Donald Sebastian Leung e3f0727e9c Add LBU instruction 2020-07-31 16:31:25 +08:00
Donald Sebastian Leung dc31087f73 Add LW instruction 2020-07-31 16:27:36 +08:00
Donald Sebastian Leung 96015ee5d9 Add LH instruction 2020-07-31 16:19:04 +08:00
Donald Sebastian Leung ecfe8b11c4 Fix JALR instruction 2020-07-31 16:15:17 +08:00