This matches GAS, that allows unsuffixed .inst for thumb.
Details
Details
Diff Detail
Diff Detail
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 | ||
---|---|---|
2 | 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 | ||
---|---|---|
2 | Yes, these ones remain the same here since it just tests the output assembly, not the generated binary. I'll amend the test. |
Would be good to add a test with triple armebv7-linux-gnueabi, my understanding is that the .inst and CHECK should remain the same.