svn commit: r346588 - head/lib/libc/powerpc64/string

2019-09-03 Thread Justin Hibbits
Author: jhibbits Date: Tue Apr 23 02:53:53 2019 New Revision: 346588 URL: https://svnweb.freebsd.org/changeset/base/346588 Log: powerpc64: Rewrite strcmp in asm to take advantage of word size Summary: Optimize strcmp for powerpc64. Data is loaded by double words and cmpb intruction is u

Re: svn commit: r346588 - head/lib/libc/powerpc64/string

2019-09-03 Thread Alexey Dokuchaev
On Tue, Apr 23, 2019 at 02:53:53AM +, Justin Hibbits wrote: > New Revision: 346588 > URL: https://svnweb.freebsd.org/changeset/base/346588 > > Log: > powerpc64: Rewrite strcmp in asm to take advantage of word size > ... > Some performance gain rates between the current and the optimized >

Re: svn commit: r346588 - head/lib/libc/powerpc64/string

2019-05-02 Thread Mark Millard via svn-src-head
[I did not deal with translating register usage correctly.] > On 2019-Apr-27, at 01:50, Mark Millard wrote: > > Justin Hibbits jhibbits at FreeBSD.org wrote on > Fri Apr 26 16:21:47 UTC 2019 : > >> This actually uses 'cmpb' which is only available on PowerISA 2.05+, so >> I'll need to pull it o

Re: svn commit: r346588 - head/lib/libc/powerpc64/string

2019-04-27 Thread Mark Millard via svn-src-head
Justin Hibbits jhibbits at FreeBSD.org wrote on Fri Apr 26 16:21:47 UTC 2019 : > This actually uses 'cmpb' which is only available on PowerISA 2.05+, so > I'll need to pull it out for now, and re-enable it once we have > ifuncs. As it stands, this commit broke the G5 and POWER4/POWER5. As I unde

Re: svn commit: r346588 - head/lib/libc/powerpc64/string

2019-04-26 Thread Justin Hibbits
On Tue, 23 Apr 2019 10:24:42 + Alexey Dokuchaev wrote: > On Tue, Apr 23, 2019 at 02:53:53AM +, Justin Hibbits wrote: > > New Revision: 346588 > > URL: https://svnweb.freebsd.org/changeset/base/346588 > > > > Log: > > powerpc64: Rewrite strcmp in asm to take advantage of word size > > .

Re: svn commit: r346588 - head/lib/libc/powerpc64/string

2019-04-23 Thread Alexey Dokuchaev
On Tue, Apr 23, 2019 at 02:53:53AM +, Justin Hibbits wrote: > New Revision: 346588 > URL: https://svnweb.freebsd.org/changeset/base/346588 > > Log: > powerpc64: Rewrite strcmp in asm to take advantage of word size > ... > Some performance gain rates between the current and the optimized >

svn commit: r346588 - head/lib/libc/powerpc64/string

2019-04-22 Thread Justin Hibbits
Author: jhibbits Date: Tue Apr 23 02:53:53 2019 New Revision: 346588 URL: https://svnweb.freebsd.org/changeset/base/346588 Log: powerpc64: Rewrite strcmp in asm to take advantage of word size Summary: Optimize strcmp for powerpc64. Data is loaded by double words and cmpb intruction is u