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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [980821-1.c] - Rev 297

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

typedef int __int32_t;
int __kernel_rem_pio2(int prec)
{
	__int32_t i, jz;
	double fw, fq[20];
	switch(prec) {
	    case 2:
		fw = 0.0;
	    case 3:	 
		for (i=jz;i>0;i--) {
		    fw      = fq[i-1] +fq[i]; 
		    fq[i-1] = fw;
		}
	}
}
 

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.