Page MenuHomeFreeBSD

powerpc64le: port optimized strcpy for LE version of processor
ClosedPublic

Authored by bruno.larsen_eldorado.org.br on Mar 4 2021, 7:34 PM.

Details

Summary

PPC64: added new path for strcpy when calling from little endian processor

Test Plan

stability of the system is enough to show that it has been fixed, and lffpires's funcperf shows the increase in speed (upwards of 6x in many cases)

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

lib/libc/powerpc64/string/strcpy_arch_2_05.S
163

It's better to use srdi (lowercase)

196

s/Endianess/Endianness/

This revision is now accepted and ready to land.Mar 9 2021, 11:47 AM