Re: e500 core lacks lswi, lswx, stswi, and stswx instructions.
Matt Thomas <[email protected]> Mon, 19 Jan 2015 06:34:05 -0800
| Newsgroups | gmane.os.netbsd.ports.powerpc |
|---|---|
| Message-ID | <[email protected]> |
> On Jan 19, 2015, at 1:15 AM, Frank Wille <[email protected]> wrote: > > On Mon, 19 Jan 2015 17:37:55 +0900 > NONAKA Kimihiro <[email protected]> wrote: > >> | arithmetic, logical, load/store, and branch) are supported on e500 >> except lswi, lswx, stswi, and stswx. >> >> I seem those instructions are generated by gcc -Os. >> It causes installer and /rescue programs don't work. >> >> 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.