aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/amxcomplex-asmatt-1.c
blob: b6745e34b8b8c95144d012af03d278df7eafc486 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile { target { ! ia32 } } } */
/* { dg-options "-O2 -mamx-complex" } */
/* { dg-final { scan-assembler "tcmmimfp16ps\[ \\t]+\[^\n\]*%tmm3+\[^\n\]*%tmm2+\[^\n\]*%tmm1"  } } */
/* { dg-final { scan-assembler "tcmmrlfp16ps\[ \\t]+\[^\n\]*%tmm3+\[^\n\]*%tmm2+\[^\n\]*%tmm1"  } } */
#include <immintrin.h>

#define TMM1 1
#define TMM2 2
#define TMM3 3

void TEST()
{
  _tile_cmmimfp16ps (TMM1, TMM2, TMM3);
  _tile_cmmrlfp16ps (TMM1, TMM2, TMM3);
}