https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110770
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Cupertino Miranda <cuper...@gcc.gnu.org>: https://gcc.gnu.org/g:77d0f9ec3809b4d2e32c36069b6b9239d301c030 commit r14-2720-g77d0f9ec3809b4d2e32c36069b6b9239d301c030 Author: Cupertino Miranda <cupertino.mira...@oracle.com> Date: Mon Jul 17 17:42:42 2023 +0100 bpf: pseudo-c assembly dialect support New pseudo-c BPF assembly dialect already supported by clang and widely used in the linux kernel. gcc/ChangeLog: PR target/110770 * config/bpf/bpf.opt: Added option -masm=<dialect>. * config/bpf/bpf-opts.h (enum bpf_asm_dialect): New type. * config/bpf/bpf.cc (bpf_print_register): New function. (bpf_print_register): Support pseudo-c syntax for registers. (bpf_print_operand_address): Likewise. * config/bpf/bpf.h (ASM_SPEC): handle -msasm. (ASSEMBLER_DIALECT): Define. * config/bpf/bpf.md: Added pseudo-c templates. * doc/invoke.texi (-masm=): New eBPF option item.