valgrind support for glibc/kernel arm64 HWCAPS

Florian Weimer fweimer@redhat.com
Wed Jul 5 19:04:00 GMT 2017


On 07/05/2017 08:56 PM, Siddhesh Poyarekar wrote:
> On Wednesday 05 July 2017 09:12 PM, Mark Wielaard wrote:
>> I am not sure I understand this part.
>> What are micro-architecture specific routines?
> 
> These are routines written specifically for vendor CPUs, such as the
> thunderx version of memcpy and memmove.  The HWCAP_CPUID allows for such
> routines to be launched on the correct hardware, but when run under
> valgrind, those routines will not get called and any potential bugs in
> those routines may get masked.

Why do you expect valgrind to be able to execute code specific to vendor
CPUs?  That's not even true for i386 and x86-64 and micro-architecture
ISA extensions.

Thanks,
Florian



More information about the Libc-alpha mailing list