| 1 |
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 4 |
| 2 |
// RUN: %clang_cc1 %s -ffreestanding -triple=x86_64-unknown-unknown \ |
| 3 |
// RUN: -target-feature +amx-movrs -verify |
| 4 |
|
| 5 |
#include <immintrin.h> |
| 6 |
#include <stddef.h> |
| 7 |
|
| 8 |
char buf[1024]; |
| 9 |
|
| 10 |
void test_tile_load() { |
| 11 |
_tile_loaddrs(20, buf, 32); // expected-error {{argument value 20 is outside the valid range [0, 7]}} |
| 12 |
_tile_stream_loaddrs(-1, buf, 20); // expected-error {{argument value 255 is outside the valid range [0, 7]}} |
| 13 |
} |