[PATCH v3] Improve strtok(_r) performance

Wilco Dijkstra Wilco.Dijkstra@arm.com
Wed Dec 14 18:04:00 GMT 2016


Gabriel F. T. Gomes wrote:
>    
> Could this have broken string/test-rawmemchr ?

Well the test passes for me, even if I disable AArch64 rawmemchr.S.

> I am seeing several lines like this:
>
> string/test-rawmemchr: Iteration 108 - wrong result in function __rawmemchr_ppc (10, 65, 140, 5) (nil) != 0x3fffa2effe0f, p 0x3fffa2effe00

Since rawmemchr now defers to memchr, could there be an issue in memchr? It seems to return NULL, which is not possible.

Wilco


More information about the Libc-alpha mailing list