Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr91897.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mavx" } */
3
4 typedef double Double16 __attribute__((vector_size(8*16)));
5
6 void mult(Double16 *res, const Double16 *v1, const Double16 *v2)
7 {
8 *res = *v1 * *v2;
9 }
10
11 /* We want 4 ymm loads and 4 ymm stores. */
12 /* { dg-final { scan-assembler-times "movapd" 8 } } */