[PATCH] powerpc/setjmp: Fix 64-bit buffer alignment

Sebastian Huber sebastian.huber@embedded-brains.de
Thu Nov 10 15:19:28 GMT 2022

On 07/11/2022 17:33, Corinna Vinschen wrote:
> On Nov  7 16:48, Sebastian Huber wrote:
>> The rlwinm is a word-size instruction which clears the remaining 32 bits of a
>> 64-bit register.  Use clrrdi in 64-bit configurations.
> I'm getting a bit cross-eyed when looling at PowerPC assembler.
> I'm sure you tested it, so feel free to push.

Yes, I did test the individual patches, however, I should have tested 
the overall function better. I hope that the 64-bit support is now complete.

embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
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:

More information about the Newlib mailing list