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

ARM assembly interpreted as x86 with rust #1150

Closed
johshoff opened this issue Nov 16, 2023 · 0 comments · Fixed by compiler-explorer/compiler-explorer#6173
Closed

ARM assembly interpreted as x86 with rust #1150

johshoff opened this issue Nov 16, 2023 · 0 comments · Fixed by compiler-explorer/compiler-explorer#6173

Comments

@johshoff
Copy link

I was happy to find that compiler explorer has support for ARM in rust. However, the resulting assembly is interpreted as x86. In this example, hovering adds and csinv doesn't give any information, and the ret instruction gives the x86 help text. The output should be more like this.

Perhaps a good solution is to add separate rust compilers for arm and x86 in the dropdown (so it's similar to c++)?

Obviously, this is a minor issue and nothing is on fire here. Thanks for the good work!

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

Successfully merging a pull request may close this issue.

1 participant