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

Greg Troxel <[email protected]> Mon, 19 Jan 2015 19:48:47 -0500
Newsgroups gmane.os.netbsd.ports.powerpc
Message-ID <[email protected]>
NONAKA Kimihiro <[email protected]> writes:

> 2015-01-19 18:15 GMT+09:00 Frank Wille <[email protected]>:
>
>> 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.
signature.asc (application/pgp-signature, 180 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlS9pe8ACgkQ+vesoDJhHiV4aACgrMrNYahM7z7hrjmvvCCqLWF8
/BcAnAy6aoY49N7yfozsX2NjyFHEor98
=onZh
-----END PGP SIGNATURE-----