[PATCH] powerpc/setjmp: Add 64-bit support
Sebastian Huber
sebastian.huber@embedded-brains.de
Fri Sep 23 19:02:34 GMT 2022
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