public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug target/110770] New: bpf: add pseudoc assembly dialect @ 2023-07-21 18:53 cupertino.miranda at oracle dot com 2023-07-21 19:02 ` [Bug target/110770] " cvs-commit at gcc dot gnu.org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: cupertino.miranda at oracle dot com @ 2023-07-21 18:53 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110770 Bug ID: 110770 Summary: bpf: add pseudoc assembly dialect Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: cupertino.miranda at oracle dot com Target Milestone: --- LLVM supports a different assembly dialect. We should support the same assembly format in GCC. A reference for these instructions can be found in: https://gcc.gnu.org/wiki/BPFBackEnd ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/110770] bpf: add pseudoc assembly dialect 2023-07-21 18:53 [Bug target/110770] New: bpf: add pseudoc assembly dialect cupertino.miranda at oracle dot com @ 2023-07-21 19:02 ` cvs-commit at gcc dot gnu.org 2023-07-21 20:26 ` pinskia at gcc dot gnu.org 2023-08-17 17:16 ` jemarch at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2023-07-21 19:02 UTC (permalink / raw) To: gcc-bugs 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 <cupermir@gcc.gnu.org>: https://gcc.gnu.org/g:77d0f9ec3809b4d2e32c36069b6b9239d301c030 commit r14-2720-g77d0f9ec3809b4d2e32c36069b6b9239d301c030 Author: Cupertino Miranda <cupertino.miranda@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. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/110770] bpf: add pseudoc assembly dialect 2023-07-21 18:53 [Bug target/110770] New: bpf: add pseudoc assembly dialect cupertino.miranda at oracle dot com 2023-07-21 19:02 ` [Bug target/110770] " cvs-commit at gcc dot gnu.org @ 2023-07-21 20:26 ` pinskia at gcc dot gnu.org 2023-08-17 17:16 ` jemarch at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu.org @ 2023-07-21 20:26 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110770 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |bpf Severity|normal |enhancement ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/110770] bpf: add pseudoc assembly dialect 2023-07-21 18:53 [Bug target/110770] New: bpf: add pseudoc assembly dialect cupertino.miranda at oracle dot com 2023-07-21 19:02 ` [Bug target/110770] " cvs-commit at gcc dot gnu.org 2023-07-21 20:26 ` pinskia at gcc dot gnu.org @ 2023-08-17 17:16 ` jemarch at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: jemarch at gcc dot gnu.org @ 2023-08-17 17:16 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110770 Jose E. Marchesi <jemarch at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jemarch at gcc dot gnu.org Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Jose E. Marchesi <jemarch at gcc dot gnu.org> --- Fixed by commit above. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-08-17 17:16 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2023-07-21 18:53 [Bug target/110770] New: bpf: add pseudoc assembly dialect cupertino.miranda at oracle dot com 2023-07-21 19:02 ` [Bug target/110770] " cvs-commit at gcc dot gnu.org 2023-07-21 20:26 ` pinskia at gcc dot gnu.org 2023-08-17 17:16 ` jemarch at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).