[all-commits] [llvm/llvm-project] f221f6: AMDGPU: Add support for v_dot2_f32_bf16 instructio...

Sirish Pande via All-commits all-commits at lists.llvm.org
Mon Nov 25 10:12:23 PST 2024


  Branch: refs/heads/users/arsenm/gfx950/v_dot2_f32_bf16
  Home:   https://github.com/llvm/llvm-project
  Commit: f221f63e40154aaf7f97acc3e48a8b7ba5659f8d
      https://github.com/llvm/llvm-project/commit/f221f63e40154aaf7f97acc3e48a8b7ba5659f8d
  Author: Sirish Pande <Sirish.Pande at amd.com>
  Date:   2024-11-25 (Mon, 25 Nov 2024)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsAMDGPU.def
    M clang/test/CodeGenOpenCL/amdgpu-features.cl
    M clang/test/CodeGenOpenCL/builtins-amdgcn-dl-insts-err.cl
    M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx950.cl
    M llvm/lib/Target/AMDGPU/AMDGPU.td
    M llvm/lib/Target/AMDGPU/GCNSubtarget.h
    M llvm/lib/Target/AMDGPU/VOP3PInstructions.td
    M llvm/lib/TargetParser/TargetParser.cpp
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fdot2.f32.bf16.ll
    A llvm/test/MC/AMDGPU/gfx950_dlops.s
    M llvm/test/MC/Disassembler/AMDGPU/gfx950_dasm_vop3.txt

  Log Message:
  -----------
  AMDGPU: Add support for v_dot2_f32_bf16 instruction for gfx950

v_dot2_f32_bf16 was added in gfx11 along with v_dot2_f16_f16 and v_dot2_bf16_bf16.
All three instructions were part of Dot9 instructions in the compiler.

This patch will split existing dot9 (v_dot2_f16_f16, v_dot2_bf16_bf16, v_dot2_f32_bf16)
into new dot9 (v_dot2_f16_f16 and v_dot2_bf16_bf16), and dot12 (v_dot2_f32_bf16).

All necessary changes to gfx11 and gfx12 are updated to reflect this change.

Co-authored-by: Sirish Pande <Sirish.Pande at amd.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