This is the mail archive of the libc-alpha@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] |
git://github.com/rth7680/qemu.git tgt-hppaWhile implementing the unit-type instructions, I wondered why no one (outside hp?) had written a version of the string routines utilizing the UXOR insn, with the SomeByteZero and NoByteZero conditions.
Attached are versions of strlen, strchr and strrchr. They pass simple tests within my emulator; I'd be interested to know if they pass full glibc testing on real hardware.
Thanks, r~
Attachment:
strlen.S
Description: Text document
Attachment:
strchr.S
Description: Text document
Attachment:
strrchr.S
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |