On Fri, Dec 31, 2021 at 2:19 PM Noah Goldstein wrote:
>
> On Fri, Dec 31, 2021 at 4:14 PM Noah Goldstein
> wrote:
> >
> > On Fri, Dec 31, 2021 at 2:36 PM H.J. Lu wrote:
> > >
> > > On Fri, Dec 31, 2021 at 12:21 PM Noah Goldstein
> > > wrote:
> > > >
> > > > On Fri, Dec 31, 2021 at 12:20 PM H.
On Fri, Dec 31, 2021 at 4:14 PM Noah Goldstein wrote:
>
> On Fri, Dec 31, 2021 at 2:36 PM H.J. Lu wrote:
> >
> > On Fri, Dec 31, 2021 at 12:21 PM Noah Goldstein
> > wrote:
> > >
> > > On Fri, Dec 31, 2021 at 12:20 PM H.J. Lu wrote:
> > > >
> > > > Update MEMSET_VDUP_TO_VEC0_AND_SET_RETURN to u
On Fri, Dec 31, 2021 at 2:36 PM H.J. Lu wrote:
>
> On Fri, Dec 31, 2021 at 12:21 PM Noah Goldstein
> wrote:
> >
> > On Fri, Dec 31, 2021 at 12:20 PM H.J. Lu wrote:
> > >
> > > Update MEMSET_VDUP_TO_VEC0_AND_SET_RETURN to use PXOR, which has lower
> > > lantency and higher throughput than VPBROA
* Noah Goldstein:
>> >> bzero does not have the interface ambiguity that bcmp has. So the
>> >> only reason for not using it would be namespace cleanliness.
>> >
>> > bzero isn't a standard C function and it isn't optimized like memset
>> > in glibc.
>
> It could be an issue if the "optimization"
On Fri, Dec 31, 2021 at 3:02 PM Florian Weimer wrote:
>
> * H. J. Lu:
>
> > On Fri, Dec 31, 2021 at 12:43 PM Florian Weimer wrote:
> >>
> >> * H. J. Lu via Libc-alpha:
> >>
> >> > bzero is an alias of SSE2 memset in glibc. Should we add __memsetzero
> >> > like __memcmpeq? It should be almost
* H. J. Lu:
> On Fri, Dec 31, 2021 at 12:43 PM Florian Weimer wrote:
>>
>> * H. J. Lu via Libc-alpha:
>>
>> > bzero is an alias of SSE2 memset in glibc. Should we add __memsetzero
>> > like __memcmpeq? It should be almost free in glibc. GCC can use
>> > __memsetzero if it is available.
>>
>>
On Fri, Dec 31, 2021 at 12:43 PM Florian Weimer wrote:
>
> * H. J. Lu via Libc-alpha:
>
> > bzero is an alias of SSE2 memset in glibc. Should we add __memsetzero
> > like __memcmpeq? It should be almost free in glibc. GCC can use
> > __memsetzero if it is available.
>
> bzero does not have the
* H. J. Lu via Libc-alpha:
> bzero is an alias of SSE2 memset in glibc. Should we add __memsetzero
> like __memcmpeq? It should be almost free in glibc. GCC can use
> __memsetzero if it is available.
bzero does not have the interface ambiguity that bcmp has. So the
only reason for not using
On Fri, Dec 31, 2021 at 12:21 PM Noah Goldstein wrote:
>
> On Fri, Dec 31, 2021 at 12:20 PM H.J. Lu wrote:
> >
> > Update MEMSET_VDUP_TO_VEC0_AND_SET_RETURN to use PXOR, which has lower
> > lantency and higher throughput than VPBROADCAST, for zero constant.
> > Since the most common usage of mems