This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] aarch64: optimize the unaligned case of memcmp


On Fri, Jun 23, 2017 at 11:41 PM, Sebastian Pop <sebpop@gmail.com> wrote:
> On Fri, Jun 23, 2017 at 5:38 PM, Ramana Radhakrishnan
> <ramana.gcc@googlemail.com> wrote:
>> Is there a chance you can add a benchmark to the glibc benchmarking
>> framework ? For most changes like this it would be good to see if the
>> existing benchmarks handle these cases and provide equivalent
>> improvements so that any changes to this can be rationalized in the
>> future.
>
> Sure, I can adapt the benchmark that we submitted to AOSP to fit in
> the glibc benchmark.
> Do you have a pointer to where memcmp is currently benchmarked?
> That would be a good place for the unaligned memcmp testcase.


https://sourceware.org/git/?p=glibc.git;a=blob;f=benchtests/bench-memcmp.c;h=96d01a1e7c6c0188b8fd0cf6d9c91f4a4fa8ace5;hb=96d01a1e7c6c0188b8fd0cf6d9c91f4a4fa8ace5

IIRC you just run make bench or benchtests - haven't done this for a while now.

I couldn't find the information on the wiki easily - is there
something that can link to this in the contribution checklist ?
Maintainers ?

regards
Ramana
>
> Thanks,
> Sebastian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]