Re: PPC chacha

2020-12-02 Thread David Edelsohn
Apple Darwin on PPC has its own ABI. The Power Mac G5 processor (PPC970) supported the initial Altivec ISA. Thanks, David On Wed, Dec 2, 2020 at 1:47 PM Niels Möller wrote: > > David Edelsohn writes: > > > I thought that you were asking in general. All PowerPC ABI, except the > > original 32 b

Re: PPC chacha

2020-12-02 Thread Niels Möller
David Edelsohn writes: > I thought that you were asking in general. All PowerPC ABI, except the > original 32 bit ELF ABI, allow a red zone below the stack pointer. > For other architectures, one needs to check each ABI. Do any of you know what ABI was used on Macs with 64-bit powerpc processors

Re: PPC chacha

2020-12-02 Thread David Edelsohn
Hi, Maamoun I thought that you were asking in general. All PowerPC ABI, except the original 32 bit ELF ABI, allow a red zone below the stack pointer. For other architectures, one needs to check each ABI. Thanks, David On Wed, Dec 2, 2020 at 12:57 PM Maamoun TK wrote: > > I can't find a document

Re: PPC chacha

2020-12-02 Thread Maamoun TK
I can't find a document other than 64-bit elf v2 abi specification https://openpowerfoundation.org/?resource_lib=64-bit-elf-v2-abi-specification-power-architecture which say it's safe to use the 288-byte volatile storage below the stack pointer to hold saved registers and local variables. However,

Re: PPC chacha

2020-12-02 Thread David Edelsohn
On Wed, Dec 2, 2020 at 9:41 AM Maamoun TK wrote: > > On Tue, Dec 1, 2020 at 8:02 PM Niels Möller wrote: > > > How portable is this, do all relevant operating systems support storing > > data below the stack pointer? > > > > I need to investigate this. It's dependent upon the ABI. Thanks, David

Re: PPC chacha

2020-12-02 Thread Maamoun TK
On Tue, Dec 1, 2020 at 8:02 PM Niels Möller wrote: > How portable is this, do all relevant operating systems support storing > data below the stack pointer? > I need to investigate this. regards, Mamone ___ nettle-bugs mailing list nettle-bugs@lists.l