RFC new asm directive: .inline_asm_mode
Jan Beulich
jbeulich@suse.com
Fri Nov 7 07:22:30 GMT 2025
On 06.11.2025 18:28, Brian Cain via Binutils wrote:
> In the pull request below, I am introducing into LLVM a new assembly
> directive called ".inline_asm_mode" which could be used to help compilers
> supporting inline assembly to let users know when they've used assembly
> language features that are not appropriate for inline assembly.
>
> https://github.com/llvm/llvm-project/pull/146215/files
>
> I'm requesting binutils community feedback about this directive, the
> approach, the name, etc.
First I don't see any discussion of whether what's there already (#APP and
#NO_APP) can be utilized, instead of introducing something new. Those pseudo-
directives are presently solely pre-processing related, but whether than can
(compatibly) be extended would at least want investigating.
Second, can the full textual proposal please be put here? For binutils, the
mailing list is the discussion medium. (Personally I also consider the
github way not really suitable for the purpose, but maybe that's simply
because I'm growing old ...)
Third, seeing that this is about labels, I'm missing considerations towards
asm goto().
Jan
More information about the Binutils
mailing list