Commit Graph

41 Commits

Author SHA1 Message Date
angie
ee77a95d5d version bump 2024-07-12 11:45:48 -04:00
angie
b284f11232 version bump 2024-05-22 12:49:08 -04:00
angie
9f3107d812 misc_expandJalr 2024-04-23 11:09:58 -04:00
Anghelo Carvajal
b51b62da45
ALLEGREX support (#60)
* setup ALLEGREX

* more setup

* clo

* fix

* Implement SPECIAL_RS and SPECIAL_SA instructions

* more table placeholders

* Implement bshfl instructions

* Rename to R4000Allegrex

* Implement SPECIAL instructions

* Add tests

* Remove some duplicated tests

* Implement SPECIAL3 instructions

* fix bug in test

* update

* Implement COPz

* Implement SPECIAL2 instructions

* Implement COP1

* Yeet cop3

* som tests

* bvf, bvfl, bvt, bvtl

* fix bshfl prefix

* need to implement the vfpu registers

* implement vt_7?

* R4000AllegrexVF -> R4000AllegrexVScalar

* Add test suite to compare with the sn toolchain decoding

* more vfpu test cases

* forgor this

* I can't decide how to name these registers

* Prepare tables for all register types

* Fix typo

* Implement vector scalar register operands

* Implement quad registers

* Fix tests?

* svl.q, svr.q

* Implement a bunch of vfpu0 instructions

* implement registers for `.t` and `.p` instructions

* Implement VFPU1 instructions

* bleh

* VFPU1, VFPU3 and `vcmp.`

* Fix wrong register type on some instructions

* start vfpu3

* Implement VFPU3 instructions

* start categorizing VFPU4

* Categorize VFPU5

* VFPU6 identification

* Identify VFPU7

* COP2 is weird

* organize COP2 a bit

* Add test cases for VFPU4 FMT

* VFPU4 FMT2 stuff

* VFPU4 FMT3 stuff

* VFPU5 stuff

* VFPU6 stuff

* VFPU7 stuff

* Implement COP2 instructions

* Implement vmov, vabs and vneg

* VPFU4 FMT0 FMT0 FMT0 implemented

* VFPU FMT0 FMT0 FMT2

* vnrcp, vnsin, vrexp2

* vrnds, vrndi, vrndf1, vrndf2

* Change tests a bit

* vf2h, vh2f, vsbz, vlgb

* vuc2ifs, vc2i, vus2i, vs2i, vi2uc, vi2c, vi2us, vi2s

* vsrt1, vsrt2, vbfy1, vbfy2, vocp, vsocp, vfad, vavg

* vsrt3, vsrt4, vsgn

* vmfvc and vmtvc placeholders

* vt4444, vt5551, vt5650

* vcst placeholder

* vf2in

* vf2iz

* vf2iu, vf2id, vi2f

* vcmovt, vcmovf

* vwbn.s, viim.s, vfim.s

* vpfxs, vpfxt, vpfxd, vnop, vsync, vflush

* vmmov, vmidt, vmzero, vmone

* vrot

* vmmul, vhtfm2, vtfm2, vhtfm3, vtfm3, vhtfm4, vtfm4, vmscl, vcrsp, vqmul

* Implement matrix operands

* fix matrix operands

* Fix `illegal` tests

* hack out a way to check the test cases are assemblable

* test-fixing: branches

* fix more test cases

* fix vmfvc and vmtvc

* more test fixing

* vdiv and fix operand R323

* more test fixing

* Fix matrix operands

* implement vcmp comparisons

* fix vsync2

* vsqrt and vrndf1 fixes

* Implement "constant" operand for `vcst`

* Add missing operand of vf2in, vf2iz, vf2iu, vf2id, vi2f

* Add missing vcmovt and vcmovf operands

* Add missing vwbn operand

* Tests cases for vmmul

* Fix vtfm2

* Implement "transpose matrix register"

* Add placeholders for the remaining missing operands

* Implement viim operand

* Implement vrot code operand

* placeholders for rp and wp operands

* test cases for vpfxs, vpfxt and vpfxd

* Properly implement rpx, rpy, rpz and rpw

* Properly implement wpx, wpy, wpz and wpw operands

* Implement vfim

* changelog

* readme

* some cleanup

* Restructure some tables

* more table restructure

* fix tests

* more table yeeting

* more cleanup

* more cleanup

* reanming

* moar

* fmt
2024-04-22 13:15:58 -04:00
Angie
2dcd926e39 version bump 2024-04-09 20:52:39 -04:00
angie
f5d811f18e Avoid heap-allocating memory for calculating required buffer size on RabbitizerOperandType_getBufferSize 2024-04-03 12:41:26 -03:00
angie
a701f616bf cleanups 2024-03-18 10:16:51 -03:00
angie
ebf82b91d9 version bump 2024-03-17 11:18:13 -03:00
angie
d717d29f0f version bump 2024-03-10 11:06:53 -03:00
angie
2189f99e11 Update cibuildwheel on GHA 2024-02-18 16:50:30 -03:00
angie
59042b2777 version bump 2024-02-18 13:13:05 -03:00
angie
8bb835b8c6 Instruction.getProcessedImmediate now raises an exception if the instruction does not contain an immediate field. 2024-02-11 10:54:56 -03:00
angie
8b17b28683 version bump 2024-01-28 13:52:35 -03:00
angie
e8c9217a82 version bump 2024-01-28 12:24:33 -03:00
angie
728815fba3 Update copyright years 2024-01-28 12:16:11 -03:00
angie
3b42e1ca00 version bump 2023-12-25 15:07:58 -03:00
angie
049b47b32c flag_disasmAsData 2023-11-11 13:19:56 -03:00
angie
802f953b59 Add markdown linter to CI 2023-09-22 15:54:19 -03:00
angie
a0fd33c8c9 version bump 2023-09-18 10:07:51 -03:00
angie
349151ca53 Consider syscall as not being emitted by compilers 2023-09-02 15:15:46 -04:00
angie
eb407ec9d3 Add missing hash function to type hint file 2023-08-26 23:16:28 -04:00
angie
c728edb3dd Fix syscall having two arguments instead of just one 2023-08-21 23:48:17 -04:00
angie
72b439fe9a Raise exceptions on instruction decoding 2023-08-08 11:57:39 -04:00
angie
8b476b124d version bump 2023-06-13 14:27:28 -04:00
angie
5d6b5e696f Version bump 2023-06-10 10:38:33 -04:00
angie
5bc9246c05 Make Rust acknowledge the tables/ folder 2023-06-10 10:20:16 -04:00
Angie
69f69357f7 Move all the tables into a tables folder 2023-05-02 19:01:54 -04:00
Angie
4681f1c20e Enable more warnings 2023-05-01 20:59:01 -04:00
angie
399c708c46 version bump 2023-04-30 12:37:02 -04:00
angie
ab96cfdf2c version bump 2023-04-27 16:08:39 -04:00
angie
96301a3b4c version bump 2023-04-17 22:42:35 -04:00
angie
96402dac2a version bump 2023-04-17 15:30:38 -04:00
angie
0d18065e56 version bump 2023-04-02 14:28:12 -04:00
Angie
b7ebec63cc version bump 2023-02-23 11:08:52 -03:00
angie
b4a8771df1 version bump 2022-12-20 13:03:11 -03:00
angie
a166772657 Fix a Rust binding not taking & 2022-12-19 20:42:38 -03:00
angie
e75ea8f09f version bump 2022-12-19 19:09:02 -03:00
Angie
f1ea6cb627 Remove cty dependency 2022-12-18 22:22:54 -03:00
Angie
3538f51086 yeet extra InstructionBase indirection 2022-12-18 20:29:22 -03:00
Angie
3ab315c5ab version bump 2022-12-18 19:58:43 -03:00
Angie
6102f2cf7d Fix C files not being packaged on Rust crates 2022-12-18 19:43:40 -03:00