Re: [PATCH] powerpc/setjmp: Add 64-bit support

Jeff Johnston <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <CAOox84tW9DokGeech5snH9==cOc5-nkZ4rGNU8RidAFOnNiEMg@mail.gmail.com>
Thanks Sebastian for clarifying.

Feel free to push.

-- Jeff J.

On Fri, Sep 23, 2022 at 3:02 PM Sebastian Huber <
[email protected]> 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: [email protected]
> 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/
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.