[all-commits] [llvm/llvm-project] 939d83: [X86-64] Support Intel AMX Intrinsic

xiangzh1 via All-commits all-commits at lists.llvm.org
Mon Jul 6 19:14:34 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 939d8309dbd4ee6cf6e9ef3e8ea26df008b006b4
      https://github.com/llvm/llvm-project/commit/939d8309dbd4ee6cf6e9ef3e8ea26df008b006b4
  Author: Xiang1 Zhang <xiang1.zhang at intel.com>
  Date:   2020-07-07 (Tue, 07 Jul 2020)

  Changed paths:
    M clang/docs/ClangCommandLineReference.rst
    M clang/include/clang/Basic/BuiltinsX86_64.def
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Basic/Targets/X86.cpp
    M clang/lib/Basic/Targets/X86.h
    M clang/lib/Headers/CMakeLists.txt
    A clang/lib/Headers/amxintrin.h
    M clang/lib/Headers/cpuid.h
    M clang/lib/Headers/immintrin.h
    M clang/lib/Sema/SemaChecking.cpp
    A clang/test/CodeGen/AMX/amx.c
    A clang/test/CodeGen/AMX/amx_errors.c
    A clang/test/CodeGen/AMX/amx_inline_asm.c
    M clang/test/Driver/x86-target-features.c
    A clang/test/Preprocessor/x86_amx_target_features.c
    M llvm/include/llvm/IR/IntrinsicsX86.td
    M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86InstrAMX.td
    A llvm/test/CodeGen/X86/AMX/amx-bf16-intrinsics.ll
    A llvm/test/CodeGen/X86/AMX/amx-int8-intrinsics.ll
    A llvm/test/CodeGen/X86/AMX/amx-tile-intrinsics.ll

  Log Message:
  -----------
  [X86-64] Support Intel AMX Intrinsic

INTEL ADVANCED MATRIX EXTENSIONS (AMX).
AMX is a new programming paradigm, it has a set of 2-dimensional registers
(TILES) representing sub-arrays from a larger 2-dimensional memory image and
operate on TILES.

These intrinsics use direct TMM register number as its params.

Spec can be found in Chapter 3 here https://software.intel.com/content/www/us/en/develop/download/intel-architecture-instruction-set-extensions-programming-reference.html

Reviewed By: craig.topper

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




More information about the All-commits mailing list