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.



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?

Regards,
-- 
NONAKA Kimihiro


Home | Main Index | Thread Index | Old Index