[all-commits] [llvm/llvm-project] b0763a: [AArch64] Implement intrinsics for FP8 FCVT/FCVTN/...

SpencerAbson via All-commits all-commits at lists.llvm.org
Wed Dec 11 01:18:06 PST 2024


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

  Changed paths:
    M clang/include/clang/Basic/arm_sve.td
    M clang/test/CodeGen/AArch64/fp8-intrinsics/acle_sme2_fp8_cvt.c
    M clang/test/Sema/aarch64-fp8-intrinsics/acle_sme2_fp8_cvt.c
    M llvm/include/llvm/IR/IntrinsicsAArch64.td
    M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
    M llvm/lib/Target/AArch64/SMEInstrFormats.td
    M llvm/test/CodeGen/AArch64/sme2-fp8-intrinsics-cvt.ll

  Log Message:
  -----------
  [AArch64] Implement intrinsics for FP8 FCVT/FCVTN/BFCVT (#118025)

This patch implements the following intrinsics:

Convert to packed 8-bit floating-point format.
``` c
  // Variants are also available for: _mf8[_bf16_x2] and _mf8[_f32_x4]
  svmfloat8_t svcvt_mf8[_f16_x2]_fpm(svfloat16x2_t zn, fpm_t fpm) __arm_streaming;
```
Convert to interleaved 8-bit floating-point format.
``` c
  svmfloat8_t svcvtn_mf8[_f32_x4]_fpm(svfloat32x4_t zn, fpm_t fpm) __arm_streaming;
```
In accordance with https://github.com/ARM-software/acle/pull/323.

Co-authored-by: Marin Lukac marian.lukac at arm.com
Co-authored-by: Caroline Concatto caroline.concatto 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