llvm/llvm/test/CodeGen/X86/AMX/amxcomplex-intrinsics.ll

; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py

; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+amx-tile,+amx-complex --show-mc-encoding | FileCheck %s

define void @test_tcmmimfp16ps() {
; CHECK-LABEL: test_tcmmimfp16ps:
; CHECK:       # %bb.0:
; CHECK-NEXT:    tcmmimfp16ps %tmm3, %tmm2, %tmm1 # encoding: [0xc4,0xe2,0x61,0x6c,0xca]
; CHECK-NEXT:    retq # encoding: [0xc3]
  call void @llvm.x86.tcmmimfp16ps(i8 1, i8 2, i8 3)
  ret void
}
declare void @llvm.x86.tcmmimfp16ps(i8 %A, i8 %B, i8 %C)

define void @test_tcmmrlfp16ps() {
; CHECK-LABEL: test_tcmmrlfp16ps:
; CHECK:       # %bb.0:
; CHECK-NEXT:    tcmmrlfp16ps %tmm3, %tmm2, %tmm1 # encoding: [0xc4,0xe2,0x60,0x6c,0xca]
; CHECK-NEXT:    retq # encoding: [0xc3]
  call void @llvm.x86.tcmmrlfp16ps(i8 1, i8 2, i8 3)
  ret void
}
declare void @llvm.x86.tcmmrlfp16ps(i8 %A, i8 %B, i8 %C)