1 ; RUN: llc < %s -O0 -mtriple=x86_64-unknown-unknown -mattr=+amx-tile,+amx-fp8 | FileCheck %s
3 ; CHECK-LABEL: test_amx:
5 ; CHECK: tdpbf8ps %tmm3, %tmm2, %tmm1
6 ; CHECK: tdpbhf8ps %tmm3, %tmm2, %tmm1
7 ; CHECK: tdphbf8ps %tmm3, %tmm2, %tmm1
8 ; CHECK: tdphf8ps %tmm3, %tmm2, %tmm1
10 define void @test_amx(){
11 call void @llvm.x86.tdpbf8ps(i8 1, i8 2, i8 3)
12 call void @llvm.x86.tdpbhf8ps(i8 1, i8 2, i8 3)
13 call void @llvm.x86.tdphbf8ps(i8 1, i8 2, i8 3)
14 call void @llvm.x86.tdphf8ps(i8 1, i8 2, i8 3)
17 declare void @llvm.x86.tdpbf8ps(i8 %tile0, i8 %tile1, i8 %tile2)
18 declare void @llvm.x86.tdpbhf8ps(i8 %tile0, i8 %tile1, i8 %tile2)
19 declare void @llvm.x86.tdphbf8ps(i8 %tile0, i8 %tile1, i8 %tile2)
20 declare void @llvm.x86.tdphf8ps(i8 %tile0, i8 %tile1, i8 %tile2)