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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr48037-1.c] - Rev 704

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

/* { dg-do compile { target { ! { ia32 } } } } */
/* { dg-options "-O -fno-math-errno" } */
 
typedef double __m128d __attribute__((vector_size(16)));
__m128d vsqrt1 (__m128d const x)
{
  double const* __restrict__ const y = (double const*)&x;
  double const a = __builtin_sqrt(y[0]);
  double const b = __builtin_sqrt(y[1]);
  return (__m128d) { a, b };
}
 
/* Verify we do not spill x to the stack.  */
/* { dg-final { scan-assembler-not "%rsp" } } */
 

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.