gcc/testsuite/gcc.target/i386/cet-pr124366.c
raw| 1 | /* PR target/124366 */ |
| 2 | /* { dg-do assemble { target { cet && masm_intel } } } */ |
| 3 | /* { dg-options "-O2 -mshstk -masm=intel" } */ |
| 4 | |
| 5 | #include <x86intrin.h> |
| 6 | |
| 7 | void |
| 8 | wrssd (unsigned int x, void *y) |
| 9 | { |
| 10 | _wrssd (x, y); |
| 11 | } |
| 12 | |
| 13 | void |
| 14 | wrussd (unsigned int x, void *y) |
| 15 | { |
| 16 | _wrussd (x, y); |
| 17 | } |
| 18 | |
| 19 | #ifdef __x86_64__ |
| 20 | void |
| 21 | wrssq (unsigned long long x, void *y) |
| 22 | { |
| 23 | _wrssq (x, y); |
| 24 | } |
| 25 | |
| 26 | void |
| 27 | wrussq (unsigned long long x, void *y) |
| 28 | { |
| 29 | _wrussq (x, y); |
| 30 | } |
| 31 | #endif |