Compiler-explorer: [BUG] ARM assembly code is directed to x86 opcode documentation

Created on 10 Jul 2020  Â·  3Comments  Â·  Source: compiler-explorer/compiler-explorer

linking opcode document with assembly code is very helpful feature.
But even ARM assembly code is also directed to x86 opcode documentation.

bug

Most helpful comment

Thanks both. The fact that it's not clearly labeled as x86_64 is misleading I agree. Will see if we can minimally do something about that!

All 3 comments

Also RISC-V; both it and ARM are particularly confusing with the default example, int square(int num), since the one significant operation is mul, which is glossed by the popup text as “unsigned multiplication” — without a warning that the documentation is only for x86, and that for the other two, mul is not necessarily unsigned. (The context menu _does_ note that it’s x86; as an interim mitigation, I’d suggest a similar note in the popup text.)

Thanks both. The fact that it's not clearly labeled as x86_64 is misleading I agree. Will see if we can minimally do something about that!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mattgodbolt picture mattgodbolt  Â·  4Comments

crea7or picture crea7or  Â·  4Comments

daniel-j-h picture daniel-j-h  Â·  4Comments

reemuskumar picture reemuskumar  Â·  5Comments

mattgodbolt picture mattgodbolt  Â·  4Comments