Commit Graph

23 Commits

Author SHA1 Message Date
Luke Street 0de65eb1b6 Reduce binary size using const arrays
Before, the mnemonic arrays would be generated
on the stack at runtime in each parse function.
This ensures that the arrays  themselves are
treated as const data.
2024-09-26 23:20:49 -06:00
Luke Street c8026715f0 impl From<u8> for Opcode 2024-09-26 23:18:47 -06:00
Luke Street dbd66fae3b Use workspace.package fields & update deps 2024-09-09 19:13:44 -06:00
Luke Street 6cbd7d888c Resolve clippy::missing_transmute_annotations 2024-04-30 19:46:54 -06:00
Luke Street d31bf75009 API updates and cleanup 2024-03-21 21:32:06 -06:00
Luke Street c4af15ddc2 Rewrite the entire crate, add assembler
- 10x faster disassembly performance
- Nearly feature-complete assembler
- `no_std` compatible
- Relicense to MIT/Apache-2.0
- Remove old crates (dol, flow-graph, etc)
- Remove Python bindings (for now, at least)
2024-03-14 00:55:08 -06:00
Luke Street 9ae36eef34 cargo fmt 2023-01-14 13:30:08 -05:00
Luke Street 4d8e473331 Support branch prediction bits, more bd mnemonics, more rlwinm mnemonics 2022-10-10 17:53:24 -04:00
InusualZ d03a713a2b genisa: cast unmasked signed value
Co-authored-by: Richard Patel <me@terorie.dev>
2022-05-31 20:24:29 -04:00
Richard Patel a80372c1b6 disasm: branch helpers, fix split fields 2022-04-11 00:08:39 +02:00
Richard Patel 9dab42c364 disasm-py: add fields() method 2022-04-09 17:19:05 +02:00
Richard Patel fd94a6c493 fuzz: add threads flag 2022-04-07 06:11:03 +02:00
Richard Patel 6548c6ec5d bump version to 0.2.0 2022-04-07 05:45:01 +02:00
Richard Patel 4c5735e403 more flexible modifier handling 2022-04-07 05:33:38 +02:00
Richard Patel b8199e678c fix signed fields 2022-04-07 04:07:15 +02:00
Richard Patel 9e7f70444f update deps 2022-04-07 02:51:17 +02:00
Richard Patel b6ad3f4f2c make clippy happy 2022-04-07 02:14:11 +02:00
Richard Patel 1f5fec522a genisa: improve codegen 2022-04-07 01:55:07 +02:00
Richard Patel e8945a8e0d genisa: remove matcher 2022-04-07 01:27:04 +02:00
Richard Patel 82970d166b isa.yaml: use condition expressions instead of matchers 2022-04-07 01:25:20 +02:00
Richard Patel e9041072e9 support simplified mnemonic conditions 2022-04-07 01:17:31 +02:00
Richard Patel c8c1daaa64 progress mnemonics 2022-04-06 17:41:13 +02:00
Richard Patel 5431836376 switch from macro to ahead-of-time generated code 2022-04-06 15:13:55 +02:00