xref: /llvm-project/llvm/test/CodeGen/X86/AMX/amxcomplex-intrinsics.ll (revision 038b7e6b761c2bebb30440cdd39252a0fa74ac3f)
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2
3; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+amx-tile,+amx-complex --show-mc-encoding | FileCheck %s
4
5define void @test_tcmmimfp16ps() {
6; CHECK-LABEL: test_tcmmimfp16ps:
7; CHECK:       # %bb.0:
8; CHECK-NEXT:    tcmmimfp16ps %tmm3, %tmm2, %tmm1 # encoding: [0xc4,0xe2,0x61,0x6c,0xca]
9; CHECK-NEXT:    retq # encoding: [0xc3]
10  call void @llvm.x86.tcmmimfp16ps(i8 1, i8 2, i8 3)
11  ret void
12}
13declare void @llvm.x86.tcmmimfp16ps(i8 %A, i8 %B, i8 %C)
14
15define void @test_tcmmrlfp16ps() {
16; CHECK-LABEL: test_tcmmrlfp16ps:
17; CHECK:       # %bb.0:
18; CHECK-NEXT:    tcmmrlfp16ps %tmm3, %tmm2, %tmm1 # encoding: [0xc4,0xe2,0x60,0x6c,0xca]
19; CHECK-NEXT:    retq # encoding: [0xc3]
20  call void @llvm.x86.tcmmrlfp16ps(i8 1, i8 2, i8 3)
21  ret void
22}
23declare void @llvm.x86.tcmmrlfp16ps(i8 %A, i8 %B, i8 %C)
24