1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mshstk" } */
3 /* { dg-final { scan-assembler-times "wrssd" 1 { target ia32 } } } */
4 /* { dg-final { scan-assembler-times "wrss\[d|q]" 2 { target lp64 } } } */
5 
6 #include <immintrin.h>
7 
f1(unsigned int __A,void * __B)8 void f1 (unsigned int __A, void *__B)
9 {
10   _wrssd (__A, __B);
11 }
12 
13 #ifdef __x86_64__
f2(unsigned long long __A,void * __B)14 void f2 (unsigned long long __A, void *__B)
15 {
16   _wrssq (__A, __B);
17 }
18 #endif
19