[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SH4 port
From: |
Paul Cercueil |
Subject: |
Re: SH4 port |
Date: |
Tue, 03 Sep 2024 16:46:47 +0200 |
Hi Paulo,
I see you're active :)
Can we merge the SH4 code?
I just need to know how to generate the sh-sz.c file, if it's
generated.
Cheers,
-Paul
Le samedi 13 juillet 2024 à 01:54 +0200, Paul Cercueil a écrit :
> Hi Paulo,
>
> I have 79/79 tests passing now with my SH4 port!
>
> I had to use a few tricks to support floating-point; notably I switch
> to the second bank of 16 FPR in the function prolog, so that the
> function arguments are always in the bank; this means all 16 FPR can
> be
> used by Lightning (as 8 32/64-bit FPR).
>
> It's not clear to me whether or not the banked registers are callee-
> saved, I could not find that info anywhere. But they are used really
> seldomly (I think only in hand-written ASM) so it should be fine.
>
> Before I send a PR I need to update my sz.c file. I wonder if there
> is
> an automated way to generate it? Or am I supposed to update it by
> hand?
>
> Cheers,
> -Paul
>
- Re: SH4 port,
Paul Cercueil <=