reference
reference copied to clipboard
'.inst' in inline-assembly changed to '.insn'
I'm a bit confused, as I believe .inst is a valid directive still. What is the difference between them? Is there some more information about this change?
@Amanieu Can you provide some information here?
Both are correct: .inst is used on ARM, .insn is used in RISC-V.
@joshtriplett Do you want to add .insn to the guaranteed directive list? (Not what this PR does, it should be added not replaced.)
Looks like .insn was added to gnu-as in 2018 in https://github.com/bminor/binutils-gdb/commit/0e35537d754f1c687850d1caccb2d78d2e418391 and in llvm in llvm-14 in https://github.com/llvm/llvm-project/commit/283879793dc787225992496587581ec77b6b0610 (I think, from some quick googling).
I'm happy to add it in addition to .inst.
@ehuss Yeah, that seems reasonable.