14 Commits

Author SHA1 Message Date
angie 728815fba3 Update copyright years 2024-01-28 12:16:11 -03:00
Angie 69f69357f7 Move all the tables into a tables folder 2023-05-02 19:01:54 -04:00
Angie cd98ae0e0f Update copyright year in every file 2023-05-02 16:41:02 -04:00
angie 3735d91fcc Pregenerate every table 2022-12-16 15:37:46 -03:00
angie 7dc241a036 format 2022-10-13 18:37:27 -03:00
angie 5b04520269 cleanup 2022-10-13 18:32:24 -03:00
angie 9bf973e82d Add extern "C" in all the headers 2022-10-04 08:31:02 -03:00
Angie 2c77b650a1 undo typo 2022-09-17 17:23:10 -03:00
angie ea935b8358 refactor operand names 2022-09-09 23:13:23 -04:00
Anghelo Carvajal 136fb7a09a Add R5900 support (#5)
* starting r5900 stuff

* operands of pmaddh

* expose R5900 to python

* fix merge issues

* move to subtables

* mmi0 and mmi3

* the rest of mmi instructions

* normal, special, regimm and cop0

* fpu_s

* cop2 special1

* starting cop2 special2

* the rest of special2

* operands for normal, special, mmi and mmi0

* mmi1 and mmi2

* Fix mmi

* sync.p

* mmi3 and cop1

* add r5900 opcodes to InstrId.pyi

* add invalid bits to unknown instruction comment

* progress on cop2 special1

* kinda finish cop2 special1

* cop2 special2 progress

* Special case for R5900 cvt.w.s -> trunc.w.s

* R5900 c.olt.s and c.ole.s

* Fix a bunch of VU0 instructions

* I'm getting tired of this bullshit

* vlqi, vsqi, vlqd, vsqd

* fix some operands

* fix div1

* lqc2 and sqc2

* sqrt.s and mult

* fix mtsa and bc2

* Remove redundant .instrType=RABBITIZER_INSTR_TYPE_UNKNOWN

* RabbitizerInstrSuffix

* Impleme instr suffix type

* add instr suffix to remaining instructions

* ifdef out xyzw suffix from registers

* format

* fix warnings

* uncomment stuff on InstrId.pyi

* readme
2022-08-27 12:22:48 -04:00
Anghelo Carvajal f8979ede3e Fix RSP instruction decoding (#4)
* Use the proper registers on RSP GPR instructions

* Add IMM_base operand to RSP instructions

* Use `ra` on RSP GPR registers

* Fix RABBITIZER_OPERAND_TYPE_RSP_rd

* ??

* fix vector register element index

* fix RSP mfc2 and mtc2

* fix vmov and similar instructions

* format

* update readme

* version pump
2022-08-22 16:27:51 -04:00
angie 63591003f6 RabbitizerInstruction_hasOperandAlias 2022-07-05 09:18:48 -04:00
Angie a725e0281a minor cleanups 2022-07-03 11:34:46 -04:00
angie 9c05b19866 rename RabbitizerRegisterType to RabbitizerOperandType 2022-06-07 23:30:01 -04:00