Debian Codegraph @

clang/test/CodeGen/X86/amx_amx512_errors.c

raw
1 // RUN: %clang_cc1 %s -ffreestanding -triple=x86_64-unknown-unknown \
2 // RUN: -target-feature +amx-avx512 -target-feature +avx10.2 -verify
3
4 #include <immintrin.h>
5 #include <stddef.h>
6
7 void test_tile_mmultf32ps() {
8 _tile_cvtrowd2psi(16, 2); // expected-error {{argument value 16 is outside the valid range [0, 7]}}
9 _tile_cvtrowd2psi(1, 260); // expected-error {{argument value 260 is outside the valid range [0, 255]}}
10 }
11