OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [trunctfdf.c] - Diff between revs 297 and 384

Only display areas with differences | Details | Blame | View Log

Rev 297 Rev 384
/* Sparc w/128-bit long double bombed on this because even though
/* Sparc w/128-bit long double bombed on this because even though
   the trunctfdf libcall passed the long double by reference, the
   the trunctfdf libcall passed the long double by reference, the
   libcall was still marked as LCT_CONST instead of LCT_PURE.  */
   libcall was still marked as LCT_CONST instead of LCT_PURE.  */
 
 
double *copy(long double *first, long double *last, double *result)
double *copy(long double *first, long double *last, double *result)
{
{
        int n;
        int n;
        for (n = last - first; n > 0; --n) {
        for (n = last - first; n > 0; --n) {
                *result = *first;
                *result = *first;
                ++first;
                ++first;
                ++result;
                ++result;
        }
        }
        return result;
        return result;
}
}
 
 

powered by: WebSVN 2.1.0

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