[PATCH] aarch64: MTE compatible strchrnul

H.J. Lu hjl.tools@gmail.com
Thu Jun 4 12:04:23 GMT 2020


On Wed, Jun 3, 2020 at 9:02 AM Andrea Corallo <andrea.corallo@arm.com> wrote:
>
> Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
>
> > On 03/06/2020 06:43, Andrea Corallo wrote:
> >> Hi all,
> >>
> >> I'd like to submit this patch introducing an Arm MTE compatible
> >> strchrnul implementation.
> >>
> >> Follows a performance comparison of the strchrnul benchmark run on
> >> Cortex-A72, Cortex-A53, Neoverse N1.
> >
> > How these performance numbers were calculated? Did you use glibc benchtests
> > or an external one?
>
> Yes the glibc benchtests has been used, forgot to mention sorry.
>
> > Besides it the commit message does not give an overall description of
> > which changes it does to the generic implementation neither the requirements
> > of MTE support.
>
> I'll improve the commit message as suggested.  Regarding the MTE
> requirements given the function is backward compatible not sure what
> should be mentioned.
>

My impression is if some object files aren't MTE compatible, you can't enable
MTE in the executable.  Is that correct?

-- 
H.J.


More information about the Libc-alpha mailing list