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

Subversion Repositories openrisc

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

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

/* { dg-options "-mabi=64 -O2" } */
 
NOMIPS16 long double __powitf2 (long double x, int m)
{
  long double y = x;
  while (m >>= 1)
    {
      x = x * x;
      if (m % 2)
        y = y * x;
    }
  return y;
}
 

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.