Debian Codegraph @

gcc/testsuite/gcc.target/i386/movdiri64.c

raw
1 /* { dg-do run { target { movdir && { ! ia32 } } } } */
2 /* { dg-options "-mmovdiri -O2" } */
3
4 #include <x86intrin.h>
5
6 unsigned long long int dest = -1LL;
7
8 int
9 main ()
10 {
11 if (!__builtin_cpu_supports ("movdiri"))
12 return 0;
13
14 _directstoreu_u64 (&dest, 0x12345678badbeef);
15
16 if (dest != 0x12345678badbeef)
17 abort ();
18
19 return 0;
20 }