Skip to content
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

Support for SPARC64 #8

Closed
Richard-Rogalski opened this issue Oct 3, 2022 · 3 comments
Closed

Support for SPARC64 #8

Richard-Rogalski opened this issue Oct 3, 2022 · 3 comments

Comments

@Richard-Rogalski
Copy link

Hello!!

Sorry, I have not had the opportunity to look through your codebase to see how trivial adding a CPU target is. However, it looks like it is all rust, which is a good start :D

So, I'm wondering:

Would you be open to this project having support for sparc64? and:
How difficult is it to add new targets?

I do not have any experience in rust, but I could do my best to take a crack at it :). Also, I would be more than willing to lend you SSH access to my sparc, if you wanted to take a crack at it yourself.

I appreciate your time :)

@Amanieu
Copy link
Owner

Amanieu commented Oct 3, 2022

Unfortunately adding a new target is quite complicated, see the AArch64 port for an example.

Also this crate heavily relies on Rust inline assembly, which is currently not supported on SPARC. The first step would be to add inline assembly support for SPARC to rustc (instructions).

@Richard-Rogalski
Copy link
Author

Thanks for the reply!!

Well, bummed out that adding a new target is complicated :. But, adding inline assembly support seems (relatively!) easy, I'll take a crack there :)

@Richard-Rogalski
Copy link
Author

Closing this, seems nobody else wants this, and I have since moved on :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants