compiler-explorer / infra

Infrastructure to set up the public Compiler Explorer instances and compilers

Home Page:https://godbolt.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ARM assembly interpreted as x86 with rust

johshoff opened this issue · comments

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!