-
Notifications
You must be signed in to change notification settings - Fork 13.5k
preliminary MIPS32 support #4692
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Wow. Very interesting
|
Awesome! What OS/processor are you testing with? |
CPU is MIPS 34Kc and OS is Linux 2.6.36 |
Sorry this is taking so long to merge. The llvm rebuild of adding a new backend will cause some disruption for developers and the bots so I'm waiting for a good moment for that. Right now I'm thinking I'll merge this weekend. |
I didn't do this last week because the tree was not green. I know, so many excuses. This weekend, perhaps? Time will tell. |
I have a rebased branch here |
Merged. |
It currently lacks support of segmented stacks and the runtime support is buggy. For a simple hello world program, it prints string and then segfaults. I am still trying to fix the problem.
The MIPS O32 ABI implementation is translated from clang's.
https://github.com/llvm-mirror/clang/blob/master/lib/CodeGen/TargetInfo.cpp