1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+amx-int8 -verify-machineinstrs | FileCheck %s
4 define void @test_amx() {
5 ; CHECK-LABEL: test_amx:
7 ; CHECK-NEXT: tdpbssd %tmm7, %tmm4, %tmm3
8 ; CHECK-NEXT: tdpbsud %tmm7, %tmm4, %tmm3
9 ; CHECK-NEXT: tdpbusd %tmm7, %tmm0, %tmm3
10 ; CHECK-NEXT: tdpbuud %tmm1, %tmm4, %tmm3
12 call void @llvm.x86.tdpbssd(i8 3, i8 4, i8 7)
14 call void @llvm.x86.tdpbsud(i8 3, i8 4, i8 7)
16 call void @llvm.x86.tdpbusd(i8 3, i8 0, i8 7)
18 call void @llvm.x86.tdpbuud(i8 3, i8 4, i8 1)
22 declare void @llvm.x86.tdpbssd(i8 %tile0, i8 %tile1, i8 %tile2)
23 declare void @llvm.x86.tdpbsud(i8 %tile0, i8 %tile1, i8 %tile2)
24 declare void @llvm.x86.tdpbusd(i8 %tile0, i8 %tile1, i8 %tile2)
25 declare void @llvm.x86.tdpbuud(i8 %tile0, i8 %tile1, i8 %tile2)