Commit Graph

49 Commits

Author SHA1 Message Date
Angie
b90dca7f83 Add more shuff to the issue templates 2024-07-19 16:26:23 -04:00
Angie
eb3bb73e43 maybe fix issue templates? 2024-07-19 16:05:05 -04:00
Angie
4b20b6030d Add issue templates 2024-07-19 15:58:48 -04:00
Angie
5e63140407 fix ci 2024-07-15 20:32:51 -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
5dc63834e4 Make tests executable? 2024-04-11 11:50:09 -04:00
angie
db27edba33 Rework CI so tests run on parallel 2024-04-11 11:45:54 -04:00
angie
2189f99e11 Update cibuildwheel on GHA 2024-02-18 16:50:30 -03:00
angie
534f58cc7c clippy 2024-01-28 12:29:44 -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
a3c7c93b2d forgor one 2023-09-13 10:55:30 -03:00
angie
1cf06f293c yeet ref thingy 2023-09-13 10:51:26 -03: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
d7ee924746 Improve rust ci (this commit will fail) 2023-05-04 14:49:37 -04:00
angie
d03cfd7862 format rust generated tables 2023-05-04 14:30:55 -04:00
Angie
d392541299 fix paths in ci 2023-05-02 19:06:06 -04:00
angie
37b2ce06e2 Autogenerate pyi files 2023-04-30 17:39:05 -04:00
angie
7a9e7a5787 generate rust tables 2023-04-30 10:13:35 -04:00
angie
f61d37b4a6 Change builds for every machine to only be ran on new releases 2023-04-30 10:00:04 -04:00
angie
a2dfabea4f Some actions cleanup 2023-04-30 09:47:00 -04:00
angie
967d8ef0b3 Escape ` 2023-04-30 09:22:51 -04:00
angie
a85e339033 Add a message to the format yamls 2023-04-30 09:21:15 -04:00
angie
cdf97457ce use another action for the yamls 2023-04-30 09:14:23 -04:00
angie
37e8c24004 maybe fix action? 2023-04-30 09:08:59 -04:00
angie
9998ca9830 split format action and setup dependencies 2023-04-30 09:01:03 -04:00
angie
57f5d139d9 hopefully fix yaml 2023-04-30 08:54:20 -04:00
angie
39e081470e CI for checking format and tables 2023-04-30 08:48:47 -04:00
angie
0d18065e56 version bump 2023-04-02 14:28:12 -04:00
Angie
6a11224f2f Unit test for checking the version number matches 2023-02-23 13:50:05 -03:00
angie
1d59c857df rename ci 2022-12-20 13:01:08 -03:00
angie
14070be962 isolated python build 2022-12-20 12:58:50 -03:00
Angie
481bb2f6a5 jalr instruction check 2022-12-19 12:20:32 -03:00
Angie
6102f2cf7d Fix C files not being packaged on Rust crates 2022-12-18 19:43:40 -03:00
angie
bddd12847e Build C library in build.rs 2022-12-18 17:12:59 -03:00
Anghelo Carvajal
37f466595c
Update publish_crate.yml 2022-12-18 16:26:55 -03:00
angie
a1e2c62954 a 2022-12-18 16:25:01 -03:00
angie
1e02871bce Another try at fixing crate publishing 2022-12-18 16:22:06 -03:00
Anghelo Carvajal
fb8c1edbd7
Rust bindings (#17)
* Generate bindings for enums

* Add .gitignore Cargo didn't automatically made

* Actually build the files into the library

* `pub` in `mod` to fix warning

* instruction struct

* Instruction rust binding

* Add InstrId::ALL_MAX

* link C library to rust

* Publish crate CI

* test

* config bindings

* add getters for registers

* add names methods for register enums

* get_operand_type

* feedback from simon

* Forgot to add new file to python setup.py

* get_operands_slice

* add stuff to cargo.toml
2022-12-18 15:15:39 -03:00
angie
95dd97ebe8 whoops 2022-12-15 16:07:50 -03:00
angie
32acccf873 Try to make logic check tests 2022-12-15 16:06:48 -03:00
angie
ac37df1398 name make ci 2022-09-09 23:41:47 -04:00
Angie
8009c4da15 Add workflow to check building with makefile 2022-08-27 13:03:54 -04:00
angie
a870363644 ci builds again... 2022-07-09 18:15:17 -04:00
angie
63eb1cb152 Don't use "all" for linux ci builds 2022-07-09 17:17:54 -04:00
angie
5e59c935e8 hopefully fix windows ci builds 2022-07-09 16:06:04 -04:00
angie
5b68266148 Build for every supported architecture on ci builds 2022-07-09 15:51:19 -04:00
Ethan Roseman
c81cc49a65
cibuildwheel (ci/cd) (#1)
* cibuildwheel attempt

* fixes

* skip pypy

* re-enable pypy

* try no pypy 3.7

* try again

* try winders

* remove snibblets
2022-06-10 14:50:23 -04:00