[Libre-soc-dev] mp3 changes

Lauri Kasanen cand at gmx.com
Fri May 28 11:55:33 BST 2021


On Fri, 28 May 2021 11:35:45 +0100
Luke Kenneth Casson Leighton <lkcl at lkcl.net> wrote:

> On Fri, May 28, 2021 at 11:25 AM Lauri Kasanen <cand at gmx.com> wrote:
> > There may be something more, perhaps FPSCR etc. I'm currently
> > investigating why int instrs work fine but float regs just stay zeroes.
> >
>
> can you dump FPSCR and see what's set?

It's zero by default, which should be fine according to PowerISA-3.1.
Default rounding modes, exceptions all disabled, IEEE mode on.

> also... maybe, hmmm, on "native" ppc64 insert some print debug
> statements that obtain MSR and FPSCR and print them out.

MSR reading seems to require kernel privs. FPSCR didn't offer any
insight, it just enabled some exceptions.

- Lauri



More information about the Libre-soc-dev mailing list