This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 4/4] sparc: Use default memset for rtld objects
From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu, 5 Oct 2017 10:51:12 -0300
> Both SPARC support multiarch platforms (sparcv9 and sparc64) have the
> a default assembly implemented memset. Since it should not be any
> restriction about it them on the loader object and assuming they are
> faster than generic ones this patch uses them for rtld objects.
>
> Also, there is no indication neither on original patch [1] or in commit
> message why the generic one where used instead of the sparc optimized
> ones.
Same exact feedback as patch #3.
The ultra1 variant uses very cpu specific characteristics and is a poor
choice as a default.
The C variant, baring a newly written assembler default, is the best
choice by far.