Commit Graph

20 Commits

Author SHA1 Message Date
angie
3735d91fcc Pregenerate every table 2022-12-16 15:37:46 -03:00
angie
32acccf873 Try to make logic check tests 2022-12-15 16:06:48 -03:00
angie
9bf973e82d Add extern "C" in all the headers 2022-10-04 08:31:02 -03: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
Angie
d4cb445cc1 Add -Wpedantic to makefile 2022-08-23 15:12:55 -04:00
Angie
5b59b2dff7 finish up cpu instructions 2022-08-23 12:31:03 -04:00
Angie
2ebb5f7712 Tables for cpu except cop1 2022-08-23 10:55:14 -04:00
Angie
5ec08f914d Start including the case bits on the tables themselves 2022-08-23 09:32:24 -04:00
angie
a539a8a39d Annotate functions with attributes 2022-07-09 19:19:53 -04:00
angie
bab16d24a5 Add more stuff to Descriptor 2022-06-08 02:17:48 -04:00
angie
118ee1cc89 rsp 2022-06-07 03:16:09 -04:00
angie
b561f3f4b9 Rename the instr id enums 2022-06-05 19:15:25 -04:00
angie
6b7650476f Change capitalization 2022-06-05 13:19:45 -04:00
angie
b01fc41a5a Moving stuff around 2022-06-05 12:25:57 -04:00
angie
6a0cdbb637 more stuff 2022-06-04 23:23:06 -04:00
angie
97fd189cda RSP instr id enum placeholder 2022-06-04 17:40:16 -04:00
angie
f5c3f7ce2d Move instruction id definitions to common macros 2022-06-04 17:34:17 -04:00
angie
d610dab8e1 Array of opcode names 2022-06-03 17:33:10 -04:00
angie
a3b7e13784 Opcodes enum 2022-06-03 17:05:00 -04:00
angie
1b082d4fe8 Initial structure porting 2022-06-03 13:46:51 -04:00