; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+amx-int8 -verify-machineinstrs | FileCheck %s
define void @test_amx() {
; CHECK-LABEL: test_amx:
; CHECK: # %bb.0:
; CHECK-NEXT: tdpbssd %tmm7, %tmm4, %tmm3
; CHECK-NEXT: tdpbsud %tmm7, %tmm4, %tmm3
; CHECK-NEXT: tdpbusd %tmm7, %tmm0, %tmm3
; CHECK-NEXT: tdpbuud %tmm1, %tmm4, %tmm3
; CHECK-NEXT: retq
call void @llvm.x86.tdpbssd(i8 3, i8 4, i8 7)
call void @llvm.x86.tdpbsud(i8 3, i8 4, i8 7)
call void @llvm.x86.tdpbusd(i8 3, i8 0, i8 7)
call void @llvm.x86.tdpbuud(i8 3, i8 4, i8 1)
ret void
}
declare void @llvm.x86.tdpbssd(i8 %tile0, i8 %tile1, i8 %tile2)
declare void @llvm.x86.tdpbsud(i8 %tile0, i8 %tile1, i8 %tile2)
declare void @llvm.x86.tdpbusd(i8 %tile0, i8 %tile1, i8 %tile2)
declare void @llvm.x86.tdpbuud(i8 %tile0, i8 %tile1, i8 %tile2)