This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH][BZ #15627] Disable SSE for rtld-* objects (tst-xmmymm failure)
- From: Siddhesh Poyarekar <siddhesh at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 14 Jun 2013 23:19:24 +0530
- Subject: Re: [PATCH][BZ #15627] Disable SSE for rtld-* objects (tst-xmmymm failure)
- References: <20130614104004 dot GH19582 at spoyarek dot pnq dot redhat dot com> <CAMe9rOpbtcumUd8p5gO3qGMeS+Dz8U=fPxE0soods4SzX2tDcw at mail dot gmail dot com>
On Fri, Jun 14, 2013 at 10:13:39AM -0700, H.J. Lu wrote:
> Would it be better to add rtld-memset.S:
>
> mov %rdx, %rcx
> movzbl %sil, %eax
> mov %rdi, %rdx
> rep stosb
> mov %rdx, %rax
> ret
>
The concern I have is that we would go down the path of reimplementing
every function that xmmymm.sh points out in future. However, the
performance improvement here probably makes it worthwhile. I'll write
this up.
Thanks,
Siddhesh