1 // RUN: %clang_cc1 %s -ffreestanding -triple=x86_64-unknown-unknown \ 2 // RUN: -target-feature +amx-int8 -target-feature +amx-transpose -target-feature +amx-movrs \ 3 // RUN: -verify 4 5 #include <immintrin.h> 6 #include <stddef.h> 7 8 void test_tile_2rpntlvwz0rs(const void *A, size_t B) { 9 _tile_2rpntlvwz0rs(8, A, B); // expected-error {{argument value 8 is outside the valid range [0, 7]}} 10 } 11 12 void test_tile_2rpntlvwz0rst1(const void *A, size_t B) { 13 _tile_2rpntlvwz0rst1(8, A, B); // expected-error {{argument value 8 is outside the valid range [0, 7]}} 14 } 15 16 void test_tile_2rpntlvwz1rs(const void *A, size_t B) { 17 _tile_2rpntlvwz1rs(8, A, B); // expected-error {{argument value 8 is outside the valid range [0, 7]}} 18 } 19 20 void test_tile_2rpntlvwz1rst1(const void *A, size_t B) { 21 _tile_2rpntlvwz1rst1(8, A, B); // expected-error {{argument value 8 is outside the valid range [0, 7]}} 22 } 23