https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116718

            Bug ID: 116718
           Summary: bpf: support bpf_fastcall attributes
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jemarch at gcc dot gnu.org
  Target Milestone: ---
            Target: bpf

BPF is introducing a way to perform load-time optimizations by inlining
function calls to instruction sequences.  Calls to functions marked with the
bpf_fastcall attributes should not clobber caller-preserved registers so they
not alter register pressure in their containing units.  Instead, the compiler
shall generate certain fixed patterns to save and restore argument and result
registers, which are then recognized by the BPF verifier and patched.

Corresponding clang/llvm PR: https://github.com/llvm/llvm-project/pull/101228

Reply via email to