Re: [PATCH] aarch64: libstdc++: Use shufflevector instead of shuffle in opt_random.h

2024-10-22 Thread Ricardo Jesus
On 10/21/24 18:30, Jonathan Wakely wrote: > On Mon, 21 Oct 2024 at 17:29, Ricardo Jesus wrote: >> >> On 10/14/24 14:37, Jonathan Wakely wrote: >>> >>> >>> On Mon, 14 Oct 2024 at 14:36, Kyrylo Tkachov wrote: > On 14 Oct 2024, at 15:28, Ricardo Jesus wrote: > > External

Re: [PATCH] aarch64: libstdc++: Use shufflevector instead of shuffle in opt_random.h

2024-10-21 Thread Jonathan Wakely
On Mon, 21 Oct 2024 at 17:29, Ricardo Jesus wrote: > > On 10/14/24 14:37, Jonathan Wakely wrote: > > > > > > On Mon, 14 Oct 2024 at 14:36, Kyrylo Tkachov wrote: > >> > >> > >> > >>> On 14 Oct 2024, at 15:28, Ricardo Jesus wrote: > >>> > >>> External email: Use caution opening links or attachment

Re: [PATCH] aarch64: libstdc++: Use shufflevector instead of shuffle in opt_random.h

2024-10-21 Thread Ricardo Jesus
On 10/14/24 14:37, Jonathan Wakely wrote: > > > On Mon, 14 Oct 2024 at 14:36, Kyrylo Tkachov wrote: >> >> >> >>> On 14 Oct 2024, at 15:28, Ricardo Jesus wrote: >>> >>> External email: Use caution opening links or attachments >>> >>> >>> This patch modifies the implementation of the vectorized m

Re: [PATCH] aarch64: libstdc++: Use shufflevector instead of shuffle in opt_random.h

2024-10-14 Thread Jonathan Wakely
On Mon, 14 Oct 2024 at 14:36, Kyrylo Tkachov wrote: > > > > > On 14 Oct 2024, at 15:28, Ricardo Jesus wrote: > > > > External email: Use caution opening links or attachments > > > > > > This patch modifies the implementation of the vectorized mersenne > > twister random number generator to use __

Re: [PATCH] aarch64: libstdc++: Use shufflevector instead of shuffle in opt_random.h

2024-10-14 Thread Kyrylo Tkachov
> On 14 Oct 2024, at 15:28, Ricardo Jesus wrote: > > External email: Use caution opening links or attachments > > > This patch modifies the implementation of the vectorized mersenne > twister random number generator to use __builtin_shufflevector instead > of __builtin_shuffle. This makes it

Re: [PATCH][aarch64][libstdc++] Use shufflevector instead of shuffle in opt_random.h

2024-10-14 Thread Ricardo Jesus
On 10/11/24 20:00, Jonathan Wakely wrote: > > On Fri, 11 Oct 2024 at 19:52, Christophe Lyon > wrote: >> >> On Fri, 11 Oct 2024 at 17:52, Jonathan Wakely wrote: >>> >>> On Wed, 9 Oct 2024 at 10:41, Ricardo Jesus wrote: This patch modifies the implementation of the vectorized Mersenne >

[PATCH] aarch64: libstdc++: Use shufflevector instead of shuffle in opt_random.h

2024-10-14 Thread Ricardo Jesus
This patch modifies the implementation of the vectorized mersenne twister random number generator to use __builtin_shufflevector instead of __builtin_shuffle. This makes it (almost) compatible with Clang. To make the implementation fully compatible with Clang, Clang will need to support internal N

Re: [PATCH][aarch64][libstdc++] Use shufflevector instead of shuffle in opt_random.h

2024-10-11 Thread Christophe Lyon
On Fri, 11 Oct 2024 at 21:00, Jonathan Wakely wrote: > > On Fri, 11 Oct 2024 at 19:52, Christophe Lyon > wrote: > > > > On Fri, 11 Oct 2024 at 17:52, Jonathan Wakely wrote: > > > > > > On Wed, 9 Oct 2024 at 10:41, Ricardo Jesus wrote: > > > > > > > > This patch modifies the implementation of th

Re: [PATCH][aarch64][libstdc++] Use shufflevector instead of shuffle in opt_random.h

2024-10-11 Thread Jonathan Wakely
On Fri, 11 Oct 2024 at 19:52, Christophe Lyon wrote: > > On Fri, 11 Oct 2024 at 17:52, Jonathan Wakely wrote: > > > > On Wed, 9 Oct 2024 at 10:41, Ricardo Jesus wrote: > > > > > > This patch modifies the implementation of the vectorized Mersenne > > > Twister random number generator to use __bui

Re: [PATCH][aarch64][libstdc++] Use shufflevector instead of shuffle in opt_random.h

2024-10-11 Thread Christophe Lyon
On Fri, 11 Oct 2024 at 17:52, Jonathan Wakely wrote: > > On Wed, 9 Oct 2024 at 10:41, Ricardo Jesus wrote: > > > > This patch modifies the implementation of the vectorized Mersenne > > Twister random number generator to use __builtin_shufflevector instead > > of __builtin_shuffle. This makes it (

Re: [PATCH][aarch64][libstdc++] Use shufflevector instead of shuffle in opt_random.h

2024-10-11 Thread Jonathan Wakely
On Wed, 9 Oct 2024 at 10:41, Ricardo Jesus wrote: > > This patch modifies the implementation of the vectorized Mersenne > Twister random number generator to use __builtin_shufflevector instead > of __builtin_shuffle. This makes it (almost) compatible with Clang. > > To make the implementation full

[PATCH][aarch64][libstdc++] Use shufflevector instead of shuffle in opt_random.h

2024-10-09 Thread Ricardo Jesus
This patch modifies the implementation of the vectorized Mersenne Twister random number generator to use __builtin_shufflevector instead of __builtin_shuffle. This makes it (almost) compatible with Clang. To make the implementation fully compatible with Clang, Clang will need to support internal