[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Serious bug in 4.9.0 (FP ctxt corruption on some ppc-e500 BSPs except mvme3100)
- Date: Fri, 26 Sep 2008 19:54:03 -0700
- From: strauman at slac.stanford.edu (Till Straumann)
- Subject: Serious bug in 4.9.0 (FP ctxt corruption on some ppc-e500 BSPs except mvme3100)
The new multilib variant m8540 by default enables -mfloat-gprs=single
and is as such useless for now since we don't implement context-switching
the upper 32-bit of e500 GPRs.
*********************************
-> Any e500 MUST use -msoft-float
*********************************
(and may therefore as well use -mpowerpc -msoft-float)
There are several new BSPs which use -m8540 without soft-float which
will experience corruption of floating-point data since FP registers
are not properly saved/restored.
In the future -- once we have proper context-switching in place -- the
new multilib variant may indeed be useful but ATM it must not be used!
-- Till