xref: /llvm-project/clang/test/CodeGen/X86/amx_fp8_errors.c (revision 8127162427c5f8c28d6292e1d4b4ce8a00b2d5a2)
1*81271624SFeng Zou // RUN: %clang_cc1 %s -ffreestanding -triple=x86_64-unknown-unknown -target-feature +amx-tile -target-feature +amx-fp8 -verify
2*81271624SFeng Zou 
3*81271624SFeng Zou #include <immintrin.h>
4*81271624SFeng Zou 
5*81271624SFeng Zou void test_amx(void *data) {
6*81271624SFeng Zou   _tile_dpbf8ps(4, 3, 3); // expected-error {{tile arguments must refer to different tiles}}
7*81271624SFeng Zou   _tile_dpbhf8ps(4, 3, 3); // expected-error {{tile arguments must refer to different tiles}}
8*81271624SFeng Zou   _tile_dphbf8ps(4, 3, 3); // expected-error {{tile arguments must refer to different tiles}}
9*81271624SFeng Zou   _tile_dphf8ps(4, 3, 3); // expected-error {{tile arguments must refer to different tiles}}
10*81271624SFeng Zou }
11