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.



> On Jan 19, 2015, at 4:46 PM, NONAKA Kimihiro <nonakap%gmail.com@localhost> wrote:
> 
> 2015-01-19 23:34 GMT+09:00 Matt Thomas <matt%3am-software.com@localhost>:
> 
>>>> Do we need emulation of those instructions?
>>>> Any ideas?
>>> 
>>> Maybe you can switch gcc into e500 mode?
>>> Does it work with -mcpu=8540 (e500v1) or -mcpu=8548 (e500v2) ?
>> 
>> Easier just to add -mno-string so GCC doesn't use them.
> 
> gcc -Os -mno-string is not generated those instructions, too.
> 
> I'd like to add "-mno-string" to compile option for evbppc.
> Do we need to add it only where "-Os" are specified Makefile?
> Or do we need to add it src/share/mk/*.mk?

I fixed rs6000.c to not enable string instructions for NetBSD with -Os.


Home | Main Index | Thread Index | Old Index