[power-gnu-discuss] Support for the MPC5554 (e200z6 core)
David Brown
david at westcontrol.com
Tue Jun 2 06:44:42 UTC 2009
Andrew Dennison wrote:
> On Tue, Jun 2, 2009 at 9:18 AM, David Brown <david at westcontrol.com> wrote:
>> Andrew Dennison wrote:
>>> -fshort-double triggers gcc to emit the single precision floating
>>> point instructions.
>>>
>> Yes, I've thought of that. It could be useful if I were converting old code
>> that used doubles, and wanted only single precision code, but it doesn't
>> help here.
>
> Works for my 5554 code.
>
What -mcpu flag (and any other -m flags) do you use? I can't find any
that cause gcc (latest 4.3.3 version) to generate SPE instructions for
single precision floating point. It's easy to get the compiler to
generate standard "book E" floating point instructions (fmuls, etc.),
but those don't work on the 5554 as far as I understand.
mvh.,
David
More information about the power-gnu-discuss
mailing list