[all-commits] [llvm/llvm-project] b008d6: [Clang][SME2] Add single and multi min and max bui...

Sam Tebbs via All-commits all-commits at lists.llvm.org
Fri Nov 10 06:35:12 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b008d66cd33b88ca1a49c214ddb6d4a52523d2d7
      https://github.com/llvm/llvm-project/commit/b008d66cd33b88ca1a49c214ddb6d4a52523d2d7
  Author: Sam Tebbs <samuel.tebbs at arm.com>
  Date:   2023-11-10 (Fri, 10 Nov 2023)

  Changed paths:
    M clang/include/clang/Basic/arm_sve.td
    A clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_max.c
    A clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_min.c

  Log Message:
  -----------
  [Clang][SME2] Add single and multi min and max builtins (#71688)

Adds the following SME2 builtins:

    svmin_single_(s8|s16|s32|s64)_x(2|4)
    svmin_single_(u8|u16|u32|u64)_x(2|4)
    svmin_single_(f16|f32|f64)_x(2|4)
    svmin_(s8|s16|s32|s64)_x(2|4)
    svmin_(u8|u16|u32|u64)_x(2|4)
    svmin_(f16|f32|f64)_x(2|4)
    svmax_single_(s8|s16|s32|s64)_x(2|4)
    svmax_single_(u8|u16|u32|u64)_x(2|4)
    svmax_single_(f16|f32|f64)_x(2|4)
    svmax_(s8|s16|s32|s64)_x(2|4)
    svmax_(u8|u16|u32|u64)_x(2|4)
    svmax_(f16|f32|f64)_x(2|4)

See
[https://github.com/ARM-software/acle/pull/217](https://github.com/ARM-software/acle/pull/217)

Patch by: Kerry McLaughlin <kerry.mclaughlin at arm.com>




More information about the All-commits mailing list