Commit Graph

40 Commits

Author SHA1 Message Date
angie
619eba0c4a Bindings for InstrIdType 2023-05-04 13:44:22 -04:00
Angie
3eee2ae4bb fix cargo build path 2023-05-02 19:09:47 -04: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
37b2ce06e2 Autogenerate pyi files 2023-04-30 17:39:05 -04:00
angie
3c8904b6fb Fix borken identation in tables 2023-04-30 15:58:01 -04:00
angie
d57c3b22b2 simplify including operand incs 2023-04-30 15:34:27 -04:00
angie
a522f4df3a missing newline 2023-04-30 12:41:02 -04:00
angie
bf775c7351 C++ bindings for R3000GTE 2023-04-30 12:36:32 -04:00
angie
e249be9f38 Fix Rust R3000GTE bindings and add some tests 2023-04-30 11:23:40 -04:00
angie
7a9e7a5787 generate rust tables 2023-04-30 10:13:35 -04:00
angie
39e081470e CI for checking format and tables 2023-04-30 08:48:47 -04:00
Anghelo Carvajal
8237818ff9
Add R3000GTE instruction set support (#31)
* initial gte setup

* starting to parse gte instructions

* R3000_GTE -> R3000GTE

* decode all the non-operand instructions

* remove printfs, whoops

* decode gte with operands

* cleanups

* bindings stuffs

* RabbitizerInstrId_isValid

* fix missing include
2023-04-29 23:07:07 -04:00
angie
ab7ce5fa9d Add linguist-generated=true to autogenerated files 2023-04-16 10:48:19 -04:00
angie
8a805123d4 Implement workaround for R5900's trunc.w.s issue 2023-04-16 10:05:01 -04:00
angie
eb11d93da9 Implement mfc2, mtc2, cfc2 and ctc2 2023-01-21 15:42:40 -03:00
angie
716d21f8ea fix "emitted" typo 2022-12-26 20:24:41 -03:00
angie
5063702a07 modifiesF* and readsF 2022-12-20 00:42:27 -03:00
angie
cf9bbc90e2 fix test 2022-12-19 20:45:26 -03:00
angie
a166772657 Fix a Rust binding not taking & 2022-12-19 20:42:38 -03:00
angie
2e74fc914f outputsToGprZero 2022-12-19 19:04:26 -03:00
angie
21000319cd Rust bindings for RegisterDescriptor 2022-12-19 18:08:07 -03:00
angie
6758468699 RegisterDescriptor 2022-12-19 17:07:32 -03:00
angie
ef2acdb328 Remove jalr_rd hack 2022-12-19 15:04:59 -03:00
Angie
e6a6a691a6 typo fixes 2022-12-18 23:06:03 -03:00
Angie
f1ea6cb627 Remove cty dependency 2022-12-18 22:22:54 -03:00
Angie
61d30e5aa1 Change treatJAsUnconditionalBranch to true by default 2022-12-18 21:09:14 -03:00
Angie
27bbbb6bf7 is_reserved method for registers 2022-12-18 20:54:29 -03:00
Angie
818c41c1d8 remove prefix from register enums in rust bindings 2022-12-18 20:49:14 -03:00
Angie
3538f51086 yeet extra InstructionBase indirection 2022-12-18 20:29:22 -03:00
Angie
922b14b2da pub use stuff 2022-12-18 20:16:04 -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
angie
bddd12847e Build C library in build.rs 2022-12-18 17:12:59 -03:00
angie
c9170b0209 version bump 2022-12-18 16:30:12 -03:00
angie
1e02871bce Another try at fixing crate publishing 2022-12-18 16:22:06 -03:00
angie
b87cf594fe Hopefully fix rust crate publishing 2022-12-18 16:00:24 -03:00
angie
b75637ec33 version bump 2022-12-18 15:33:02 -03:00
angie
6b730599eb a few extra missing methods 2022-12-18 15:30:30 -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