This matches GAS, that allows unsuffixed .inst for thumb.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
That looks like the right behaviour to me. For reference the Arm ARM definition of Thumb Instruction width from encodeing is in https://developer.arm.com/products/architecture/cpu-architecture/a-profile/docs/ddi0406/latest/arm-architecture-reference-manual-armv7-a-and-armv7-r-edition 6.1 Thumb Instruction set encoding.
test/MC/ARM/inst-thumb-suffixes-auto.s | ||
---|---|---|
1 ↗ | (On Diff #157765) | Would be good to add a test with triple armebv7-linux-gnueabi, my understanding is that the .inst and CHECK should remain the same. |
test/MC/ARM/inst-thumb-suffixes-auto.s | ||
---|---|---|
1 ↗ | (On Diff #157765) | Yes, these ones remain the same here since it just tests the output assembly, not the generated binary. I'll amend the test. |