OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr50310-1.c] - Rev 801

Go to most recent revision | Compare with Previous | Blame | View Log

/* PR target/50310 */
/* { dg-do run } */
/* { dg-options "-O3" } */
/* { dg-options "-O3 -mavx -mno-avx2" { target avx_runtime } } */
 
double s1[4], s2[4];
long long e[4];
 
int
main ()
{
  int i;
  asm volatile ("" : : : "memory");
  for (i = 0; i < 4; i++)
    e[i] = __builtin_isunordered (s1[i], s2[i]) && s1[i] != s2[i] ? -1 : 0;
  asm volatile ("" : : : "memory");
  return 0;
}
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.