Zach Banks
Zach Banks
This issue is just used to track progress on implementing common PPC instructions using github's checklist feature. This is a list of instructions used in SMS sorted by popularity (with...
From @ethteck > but just another thing I remembered: if you're doing an or check for consecutive values of thing like 12, 13, 14, gcc will optimize it as `(thing...
From Discord: > I think mips2c is generating incorrect code. For func_80133038 in MM, it gives > ```c > extern ? D_801C5C9C; > > s32 func_80133038(GlobalContext *globalCtx, s8 *arg1, struct_80133038_arg2...
> Would be nice to clean this up so ordering is consecutive, but it seems like low priority. _Originally posted by @simonlindholm in https://github.com/matt-kempster/mips_to_c/pull/180#discussion_r759197381_ Also fix the issue where one...
Brought up by [JoshDuMan on Discord](https://discord.com/channels/688807550715560050/703351323445428306/906059411481591819) from the `appendGfx_message` function in PM. > There is in the function that Ethan and I were working on, a set of inequalities that...
Brought up by [Maide on Discord](https://discord.com/channels/688807550715560050/703351323445428306/906218520998715483). A lot of `if (y == x)` statements output by mips2c need to be rewritten to `if (x == y)` to match. This seems...
There's a small bug with `subroutine_args` in `translate_node_body`. This array keeps track of the arguments after the 4th for the next function call. However, it is only local to the...
Some kind of assert-only-in-debug-mode would be useful here. If it comes up we'd want to know about it since it's a probable bug, but at the same time it's a...
Motivated by decomp.me. In #52 I added the `JsonFormatter` for returning the diff results as a JSON blob. This is fine for CLI use, but decomp.me imports `diff.py` directly and...
Discovered when using AutoDJ w/ the previous PR