Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: e500 core lacks lswi, lswx, stswi, and stswx instructions.



NONAKA Kimihiro <nonakap%gmail.com@localhost> writes:

> 2015-01-19 18:15 GMT+09:00 Frank Wille <frank%phoenix.owl.de@localhost>:
>
>> Maybe you can switch gcc into e500 mode?
>> Does it work with -mcpu=8540 (e500v1) or -mcpu=8548 (e500v2) ?
>
> gcc -Os -mcpu=8548 is not generated those instructions.
> Thanks!

It seems that in the i386 port there's a notion that compilers target
486-or-later by default, to make binaries that run on all systems.  ppc
seems much messier, where setting the compiler for "any cpu that can run
this port" is not reasonable.   It seems that having something (in
/usr/share/doc?  wiki?) that explains this and when people have to use
other flags would really help.

Attachment: pgpWr__z20Gr1.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index