Debian Codegraph @

gcc/testsuite/gcc.target/i386/amxtile-asmintel-1.c

raw
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-require-effective-target masm_intel } */
3 /* { dg-options "-O2 -mamx-tile -masm=intel " } */
4 /* { dg-final { scan-assembler "ldtilecfg\[ \\t]" } } */
5 /* { dg-final { scan-assembler "sttilecfg\[ \\t]" } } */
6 /* { dg-final { scan-assembler "tilerelease" } } */
7 /* { dg-final { scan-assembler "tileloadd\[ \\t]tmm\[0-9\]" } } */
8 /* { dg-final { scan-assembler "tileloaddt1\[ \\t]tmm\[0-9\]" } } */
9 /* { dg-final { scan-assembler "tilestored\[ \\t]\[^\n\]+\[^\n\]*tmm\[0-9\]" } } */
10 /* { dg-final { scan-assembler "tilezero\[ \\t]+\[^\n%\]*tmm\[0-9\]" } } */
11 #include <immintrin.h>
12
13 extern int a[];
14 extern const void* base;
15 extern const int stride;
16 void TEST ()
17 {
18 _tile_loadconfig (a);
19 _tile_storeconfig (a);
20 _tile_release ();
21 _tile_loadd (5, base, stride);
22 _tile_stream_loadd (4, base, stride);
23 _tile_stored (3, base, stride);
24 _tile_zero (2);
25 }