summaryrefslogtreecommitdiff
path: root/sysdeps/i386/i686/multiarch/strpbrk.S
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2009-08-04 12:13:43 -0700
committerUlrich Drepper <drepper@redhat.com>2009-08-04 12:13:43 -0700
commit02cea47161c00969afa985e641f4ac376f84d35f (patch)
treecbc5677d2ccdea60e25e7dd6b6f19ca77e5cf3ca /sysdeps/i386/i686/multiarch/strpbrk.S
parent421665c40ae002f74130eb4e0b19cb22d97860cf (diff)
downloadglibc-02cea47161c00969afa985e641f4ac376f84d35f.tar.gz
Add x86 32-bit SSE4.2 string functions.
This patch adds 32bit SSE4.2 string functions. It uses -16L instead of 0xfffffffffffffff0L, which works for both 32bit and 64bit long. Tested on 32bit Core i7 and Core 2.
Diffstat (limited to 'sysdeps/i386/i686/multiarch/strpbrk.S')
-rw-r--r--sysdeps/i386/i686/multiarch/strpbrk.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/i386/i686/multiarch/strpbrk.S b/sysdeps/i386/i686/multiarch/strpbrk.S
new file mode 100644
index 0000000000..ed5bca6a94
--- /dev/null
+++ b/sysdeps/i386/i686/multiarch/strpbrk.S
@@ -0,0 +1,3 @@
+#define STRCSPN strpbrk
+#define USE_AS_STRPBRK
+#include "strcspn.S"