Debian Codegraph @

gcc/testsuite/g++.target/i386/pr102166.C

raw
1 /* PR target/102166 */
2 /* { dg-do compile { target { ! ia32 } } } */
3 /* { dg-options "-O2 -std=c++14" } */
4 /* { dg-skip-if "requires hosted libstdc++ for stdlib malloc" { ! hostedlib } } */
5
6 #include<immintrin.h>
7 __attribute__((target("amx-tile"))) void amx()
8 {
9 _tile_loadd(0, 0, 0);
10 _tile_release();
11 }
12
13 __attribute__((target("amx-int8"))) void amxint8()
14 {
15 _tile_dpbssd(0, 1, 2);
16 }
17
18 __attribute__((target("amx-bf16"))) void amxbf16()
19 {
20 _tile_dpbf16ps (0, 1, 2);
21 }