c3c icon indicating copy to clipboard operation
c3c copied to clipboard

Implement MIPS3 target support

Open KiritoDv opened this issue 1 year ago • 8 comments

It would be nice to have mips-3 support for some homebrew platforms like n64 or some modems.

Im not sure if this could be a good reference: https://github.com/llvm/llvm-project/issues/18632

https://clang.llvm.org/doxygen/Driver_2ToolChains_2Arch_2Mips_8cpp_source.html

KiritoDv avatar Aug 29 '24 19:08 KiritoDv

How would we test it?

lerno avatar Aug 29 '24 21:08 lerno

Thats a good question, i can setup a few n64 and router firmware tests or an example program

KiritoDv avatar Aug 30 '24 04:08 KiritoDv

I will probably want to test it from MacOS, are there any easy helpers to do that?

lerno avatar Aug 30 '24 07:08 lerno

Wdym by helper 0:?

KiritoDv avatar Aug 30 '24 17:08 KiritoDv

Software that will help you run and emulate MIPS3 code on MacOS.

lerno avatar Aug 30 '24 17:08 lerno

Ohh, you could try ares which is an n64 emulator or an irix emulator https://forums.irixnet.org/thread-1012-post-7165.html

KiritoDv avatar Aug 30 '24 17:08 KiritoDv

Looks non-trivial. Is there a way to bring this to CI?

lerno avatar Sep 14 '24 14:09 lerno

Yeah i think, my other idea was to use something like this https://github.com/gioannides/MIPS_SIMULATOR/tree/master, seems to be smaller than using a full emulator

KiritoDv avatar Sep 14 '24 15:09 KiritoDv