This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: wcschr on unaligned input


On Sunday 15 July 2012 00:49:03 OndÅej BÃlka wrote:
> I noticed that wcschr.S uses movdqa instuction.
> What is intended behaviour if it is called on
> unaligned input like following?
> 
> wcschr("axxxxabcd"+1,*((int*)"abcd"))

wcschr takes a wchar_t*, so i'd expect the alignment requirements to arise 
based on that.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]