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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [980821-1.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 688 jeremybenn
typedef int __int32_t;
2
int __kernel_rem_pio2(int prec)
3
{
4
        __int32_t i, jz;
5
        double fw, fq[20];
6
        switch(prec) {
7
            case 2:
8
                fw = 0.0;
9
            case 3:
10
                for (i=jz;i>0;i--) {
11
                    fw      = fq[i-1] +fq[i];
12
                    fq[i-1] = fw;
13
                }
14
        }
15
}

powered by: WebSVN 2.1.0

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