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

NONAKA Kimihiro <[email protected]> Tue, 20 Jan 2015 09:46:45 +0900
Newsgroups gmane.os.netbsd.ports.powerpc
Message-ID <CAM+xf6BDZGrnCjH0agS74Ma4oopCHzUOXXUM7ea6ag6TztvfzQ@mail.gmail.com>
2015-01-19 23:34 GMT+09:00 Matt Thomas <[email protected]>:

>>> 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