3 /* { dg-options "-O2 -mavx512f" } */
4 /* { dg-require-effective-target avx512f } */
7 #include "avx512f-check.h"
8 #define PR77476_TEST avx512f_test
18 unsigned char a
= 0xff;
19 asm volatile ("" : "+Yk" (a
));
26 unsigned char a
= 0xff;
27 asm volatile ("" : "+Yk" (a
));
34 unsigned char a
= 0xff;
35 asm volatile ("" : "+Yk" (a
));
42 unsigned short a
= 0xffff;
43 asm volatile ("" : "+Yk" (a
));
50 unsigned short a
= 0xffff;
51 asm volatile ("" : "+Yk" (a
));
59 unsigned int a
= 0xffffffff;
60 asm volatile ("" : "+Yk" (a
));
68 f1 (); if (s
!= 0xff) __builtin_abort (); s
= 0;
69 f2 (); if (i
!= 0xff) __builtin_abort (); i
= 0;
70 f3 (); if (l
!= 0xff) __builtin_abort (); l
= 0;
71 f4 (); if (i
!= 0xffff) __builtin_abort (); i
= 0;
72 f5 (); if (l
!= 0xffff) __builtin_abort (); l
= 0;
74 f6 (); if (l
!= 0xffffffff) __builtin_abort (); l
= 0;