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

            Bug ID: 128112
           Summary: bpf: new cpu v5 with uhmul and shmul insns
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dfaust at gcc dot gnu.org
  Target Milestone: ---

Linux kernel BPF is gaining two new instructions UHMUL and SHMUL with the debut
of the CPU v5 ISA. These are unsigned and signed high-half 64-bit multiplies,
respectively.

We should add corresponding defines for <su>mul_highpart DImode,
introduce the -mcpu=v5 and add __BPF_FEATURE_HMUL matching clang feature macro.

kernel:
https://lore.kernel.org/bpf/[email protected]/T/#t

llvm: https://github.com/llvm/llvm-project/pull/234076

Reply via email to