This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem with crosstool 0.28-pre28 supplied patch for gcc 3.3.[23] softfloat on ARM


On Tue, Aug 17, 2004 at 02:36:44AM +0200, Lennert Buytenhek wrote:

> I'm afraid I can't make much sense of that, but it looks like either
> the fltd or the stfd are messing up.  Is the kernel FP emulator at
> fault anyway?

Seeing this kind of stuff in the kernel makes me somewhat nervous
(from arch/arm/nwfpe/fpa11_cpdt.c):

static inline void loadDouble(const unsigned int Fn, const unsigned int *pMem)
{
        FPA11 *fpa11 = GET_FPA11();
        unsigned int *p;
        p = (unsigned int *) &fpa11->fpreg[Fn].fDouble;
        fpa11->fType[Fn] = typeDouble;
        get_user(p[0], &pMem[1]);
        get_user(p[1], &pMem[0]);       /* sign & exponent */
}


Also:

% pwd
/home/buytenh/proj/ixp2xxx/kernel/2.6/linux-2.6.8-rc1-ds1
% grep -i endian arch/arm/nwfpe/*
% grep -i ARMEB arch/arm/nwfpe/*
% grep -i htonl arch/arm/nwfpe/*
% grep -i bswap arch/arm/nwfpe/*
% grep -i le32_to_cpu arch/arm/nwfpe/*
% 


cheers,
Lennert

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]