[all-commits] [llvm/llvm-project] 99f6ca: [AArch64] Implement intrinsics for SME FP8 FMOPA (...

SpencerAbson via All-commits all-commits at lists.llvm.org
Mon Dec 9 03:13:29 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99f6ca9b7bb7d794db9ac8ff519b4e60766f6a4b
      https://github.com/llvm/llvm-project/commit/99f6ca9b7bb7d794db9ac8ff519b4e60766f6a4b
  Author: SpencerAbson <Spencer.Abson at arm.com>
  Date:   2024-12-09 (Mon, 09 Dec 2024)

  Changed paths:
    M clang/include/clang/Basic/arm_sme.td
    M clang/lib/CodeGen/CGBuiltin.cpp
    A clang/test/CodeGen/AArch64/fp8-intrinsics/acle_sme2_fp8_fmopa.c
    A clang/test/Sema/aarch64-fp8-intrinsics/acle_sme2_fp8_imm.c
    A clang/test/Sema/aarch64-fp8-intrinsics/acle_sme2_fp8_mopa.c
    M llvm/include/llvm/IR/IntrinsicsAArch64.td
    M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
    M llvm/lib/Target/AArch64/SMEInstrFormats.td
    A llvm/test/CodeGen/AArch64/sme2-fp8-intrinsics-fmopa.ll

  Log Message:
  -----------
  [AArch64] Implement intrinsics for SME FP8 FMOPA (#118115)

This patch implements the following intrinsics:

8-bit floating-point sum of outer products and accumulate.
``` c
  // Only if __ARM_FEATURE_SME_F8F16 != 0
    void svmopa_za16[_mf8]_m_fpm(uint64_t tile, svbool_t pn, svbool_t pm,
                                 svmfloat8_t zn, svmfloat8_t zm, fpm_t fpm)
                                 __arm_streaming __arm_inout("za");

  // Only if __ARM_FEATURE_SME_F8F32 != 0
    void svmopa_za32[_mf8]_m_fpm(uint64_t tile, svbool_t pn, svbool_t pm,
                                 svmfloat8_t zn, svmfloat8_t zm, fpm_t fpm)
                                 __arm_streaming __arm_inout("za");
```

In accordance with: https://github.com/ARM-software/acle/pull/323/

Co-authored-by: Momchil Velikov momchil.velikov at arm.com
Co-authored-by: Marian Lukac marian.lukac at arm.com



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list