gcc/testsuite/gcc.target/i386/pr105791.c
raw| 1 | /* { dg-do compile { target int128 } } */ |
| 2 | /* { dg-options "-O2 -mxop" } */ |
| 3 | typedef __int128 __attribute__((__vector_size__ (sizeof (__int128)))) U; |
| 4 | typedef int __attribute__((__vector_size__ (sizeof (int)))) V; |
| 5 | |
| 6 | U u; |
| 7 | V v; |
| 8 | |
| 9 | U |
| 10 | foo (void) |
| 11 | { |
| 12 | return (0 != __builtin_convertvector (v, U)) <= (0 != u); |
| 13 | } |