Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr85473-1.c

raw
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-require-effective-target maybe_x32 } */
3 /* { dg-options "-O2 -mx32 -maddress-mode=short -mmovdir64b" } */
4 /* { dg-final { scan-assembler "movdir64b\[ \\t\]" } } */
5
6 unsigned int w[5] __attribute__((aligned(64)));
7
8 void
9 foo ()
10 {
11
12 unsigned int array[] = {1, 2, 3, 4, 5};
13 __builtin_ia32_movdir64b(w, array);
14 }
15