[all-commits] [llvm/llvm-project] cf6989: [AArch64][SVE2] Add the SVE2.1 BF16 instructions

david-arm via All-commits all-commits at lists.llvm.org
Mon Nov 7 07:30:13 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf69895ab31b40fe0d1275a29c4a29283ce327ae
      https://github.com/llvm/llvm-project/commit/cf69895ab31b40fe0d1275a29c4a29283ce327ae
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2022-11-07 (Mon, 07 Nov 2022)

  Changed paths:
    M llvm/include/llvm/Support/AArch64TargetParser.def
    M llvm/include/llvm/Support/AArch64TargetParser.h
    M llvm/lib/Target/AArch64/AArch64.td
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
    M llvm/lib/Target/AArch64/AArch64SchedNeoverseN2.td
    M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
    M llvm/lib/Target/AArch64/SVEInstrFormats.td
    A llvm/test/MC/AArch64/SVE2p1/bfadd-diagnostics.s
    A llvm/test/MC/AArch64/SVE2p1/bfadd.s
    A llvm/test/MC/AArch64/SVE2p1/bfclamp-diagnostics.s
    A llvm/test/MC/AArch64/SVE2p1/bfclamp.s
    A llvm/test/MC/AArch64/SVE2p1/bfmax-diagnostics.s
    A llvm/test/MC/AArch64/SVE2p1/bfmax.s
    A llvm/test/MC/AArch64/SVE2p1/bfmaxnm-diagnostics.s
    A llvm/test/MC/AArch64/SVE2p1/bfmaxnm.s
    A llvm/test/MC/AArch64/SVE2p1/bfmin-diagnostics.s
    A llvm/test/MC/AArch64/SVE2p1/bfmin.s
    A llvm/test/MC/AArch64/SVE2p1/bfminnm-diagnostics.s
    A llvm/test/MC/AArch64/SVE2p1/bfminnm.s
    A llvm/test/MC/AArch64/SVE2p1/bfmla-diagnostics.s
    A llvm/test/MC/AArch64/SVE2p1/bfmla.s
    A llvm/test/MC/AArch64/SVE2p1/bfmls-diagnostics.s
    A llvm/test/MC/AArch64/SVE2p1/bfmls.s
    A llvm/test/MC/AArch64/SVE2p1/bfmul-diagnostics.s
    A llvm/test/MC/AArch64/SVE2p1/bfmul.s
    A llvm/test/MC/AArch64/SVE2p1/bfsub-diagnostics.s
    A llvm/test/MC/AArch64/SVE2p1/bfsub.s
    M llvm/unittests/Support/TargetParserTest.cpp

  Log Message:
  -----------
  [AArch64][SVE2] Add the SVE2.1 BF16 instructions

This patch adds the new FEAT_B16B16 feature as well as the
assembly/disassembly for all of the B16B16 instructions:

bfadd:   BFloat16 floating-point add vectors
bfsub:   BFloat16 floating-point subtract vectors
bfmul:   BFloat16 floating-point multiply vectors
bfclamp: BFloat16 floating-point clamp to minimum/maximum number
bfmax:   BFloat16 floating-point maximum
bfmaxnm: BFloat16 floating-point maximum number
bfmin:   BFloat16 floating-point minimum
bfminnm: BFloat16 floating-point minimum number
bfmla:   BFloat16 floating-point fused multiply-add vectors
bfmls:   BFloat16 floating-point fused multiply-subtract vectors

The reference can be found here:
https://developer.arm.com/documentation/ddi0602/2022-09

Differential Revision: https://reviews.llvm.org/D137321




More information about the All-commits mailing list