[all-commits] [llvm/llvm-project] ff1495: [Clang][PowerPC] Add __dmr2048 type and DMF crypto...

Maryam Moghadas via All-commits all-commits at lists.llvm.org
Tue Sep 30 06:17:04 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ff149531281270d217b80a099232f947be9ac622
      https://github.com/llvm/llvm-project/commit/ff149531281270d217b80a099232f947be9ac622
  Author: Maryam Moghadas <maryammo at ca.ibm.com>
  Date:   2025-09-30 (Tue, 30 Sep 2025)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsPPC.def
    M clang/include/clang/Basic/PPCTypes.def
    M clang/include/clang/Serialization/ASTBitCodes.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/CodeGen/TargetBuiltins/PPC.cpp
    M clang/test/AST/ast-dump-ppc-types.c
    M clang/test/CodeGen/PowerPC/builtins-ppc-dmf.c
    M clang/test/CodeGen/PowerPC/ppc-dmf-mma-builtin-err.c
    M clang/test/CodeGen/PowerPC/ppc-dmf-types.c
    M clang/test/CodeGenCXX/ppc-mangle-mma-types.cpp
    M clang/test/Sema/ppc-dmf-types.c
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp

  Log Message:
  -----------
  [Clang][PowerPC] Add __dmr2048 type and DMF crypto builtins (#157152)

Define the __dmr2048 type to represent the DMR pair introduced by the
Dense Math Facility on PowerPC, and add three Clang builtins
corresponding to DMF cryptography:

__builtin_mma_dmsha2hash
__builtin_mma_dmsha3hash
__builtin_mma_dmxxshapad

The __dmr2048 type is required for the dmsha3hash crypto builtin, and,
as withother PPC MMA and DMR types, its use is strongly restricted.



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