blob: 81a9d6f4875f16af87a4e304962a1848aedaf947 [file] [log] [blame]
/* { dg-do run } */
typedef long int_t;
__attribute__ ((noinline)) int_t
movlle (int_t w, int_t x, int_t y, int_t z)
{
return w <= x ? y : z;
}
int
main (void)
{
if (movlle (-1L, -1L, 12L, 23L) != 12L)
return 1;
if (movlle (-1L, 3L, 12L, 23L) != 12L)
return 1;
if (movlle (1L, 3L, 12L, 23L) != 12L)
return 1;
if (movlle (3L, 3L, 12L, 23L) != 12L)
return 1;
if (movlle (5L, 3L, 12L, 23L) != 23L)
return 1;
if (movlle (3L, -1L, 12L, 23L) != 23L)
return 1;
if (movlle (3L, 1L, 12L, 23L) != 23L)
return 1;
if (movlle (3L, 5L, 12L, 23L) != 12L)
return 1;
return 0;
}