Debian Codegraph @

gcc/testsuite/gcc.dg/pr107686.c

raw
1 /* { dg-do compile { target { dfp && longlong64 } } } */
2 /* { dg-options "-O" } */
3 /* { dg-additional-options "-mavx2" { target x86_64-*-* i?86-*-* } } */
4
5 typedef _Decimal64 __attribute__((__vector_size__ (64))) D;
6 typedef __INT32_TYPE__ __attribute__((__vector_size__ (32))) U;
7 typedef __INT64_TYPE__ __attribute__((__vector_size__ (64))) V;
8
9 U u;
10 D d;
11
12 void
13 foo (void)
14 {
15 d = d < (D) __builtin_convertvector (u, V);
16 }