[PATCH] powerpc/setjmp: Add 64-bit support
Jeff Johnston
jjohnstn@redhat.com
Fri Sep 23 19:29:10 GMT 2022
Thanks Sebastian for clarifying.
Feel free to push.
-- Jeff J.
On Fri, Sep 23, 2022 at 3:02 PM Sebastian Huber <
sebastian.huber@embedded-brains.de> wrote:
> Hello Jeff,
>
> On 23/09/2022 20:04, Jeff Johnston wrote:
> > Just a couple of questions/issues:
> >
> > 1. How did you arrive at 70 doubles and 43 doubles length values?
>
> the 70 is the final offset 432 + 16 + 96 == 544 plus 16 for the
> alignment divided by 8 (size of double). I checked this also with the
> debugger.
>
> The 43 is the final offset 232 + 8 + 96 == 336 plus 8 for the alignment
> divided by 8.
>
> > 2. It appears that __SPE__ is not accounted for in setjmp.h
>
> The SPE is only used in 32-bit processors without a FPU or Altivec unit.
> So, 256 bytes for the jmp_buf are enough.
>
> --
> embedded brains GmbH
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.huber@embedded-brains.de
> phone: +49-89-18 94 741 - 16
> fax: +49-89-18 94 741 - 08
>
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/
>
>
More information about the Newlib
mailing list