This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH: New comprehensive test for wcscmp
- From: Dmitrieva Liubov <liubov dot dmitrieva at gmail dot com>
- To: Ulrich Drepper <drepper at gmail dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 10 Aug 2011 08:47:37 +0400
- Subject: Re: PATCH: New comprehensive test for wcscmp
- References: <CAHjhQ90yKOgKHmYizBw8qK4XKD=x=jj0eapjaE3VQ1yubJqGWw@mail.gmail.com><CAOPLpQeTyFM_D7uW3c0A3XwZ5rCrdvppNFeT-M2j8+kOP1+oZQ@mail.gmail.com><CAHjhQ90ETwxS7oTCTRy4cVSD+0Aac7YXA-2r8pU-weRsUDBSdw@mail.gmail.com><CAOPLpQfH5BCDxa8=39w3z5VzkCXz+ETbZaEL1ugav2v4qTgUqw@mail.gmail.com>
I think that wcscmp must work correctly for 4 - unaligned cases as well.
For example:
char *a;
wchar_t *ptr=(wchar_t *)(a+1);
New assembler implementation I will submit supports these cases.