| 1 |
/* PR target/123489 */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-mavx10.2" } */ |
| 4 |
|
| 5 |
typedef double v2df __attribute__((__vector_size__(16))); |
| 6 |
typedef float v4sf __attribute__((__vector_size__(16))); |
| 7 |
|
| 8 |
long long |
| 9 |
foo () |
| 10 |
{ |
| 11 |
return __builtin_ia32_cvttsd2sis64_round ((v2df) {}, 8) /* { dg-error "implicit declaration of function" "" { target ia32 } } */ |
| 12 |
+ __builtin_ia32_cvttsd2usis64_round ((v2df) {}, 8); /* { dg-error "implicit declaration of function" "" { target ia32 } } */ |
| 13 |
} |
| 14 |
|
| 15 |
long long |
| 16 |
bar () |
| 17 |
{ |
| 18 |
return __builtin_ia32_cvttss2sis64_round ((v4sf) {}, 8) /* { dg-error "implicit declaration of function" "" { target ia32 } } */ |
| 19 |
+ __builtin_ia32_cvttss2usis64_round ((v4sf) {}, 8); /* { dg-error "implicit declaration of function" "" { target ia32 } } */ |
| 20 |
} |