summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86/string/ssse3-wmemcmp-atom.S
diff options
context:
space:
mode:
authorAlexander Ivchenko <alexander.ivchenko@intel.com>2013-06-27 12:55:46 +0400
committerElliott Hughes <enh@google.com>2013-08-02 17:57:23 -0700
commitbaa91f4f8974b6e9a81fa3aa49f051b3bf823653 (patch)
tree5107a2ba56f4f360dd171abaa3f84e360ab0ab5b /libc/arch-x86/string/ssse3-wmemcmp-atom.S
parentaa2733d17b87c607fccbd6e6a0f44d2d411ffd77 (diff)
downloadbionic-baa91f4f8974b6e9a81fa3aa49f051b3bf823653.zip
bionic-baa91f4f8974b6e9a81fa3aa49f051b3bf823653.tar.gz
bionic-baa91f4f8974b6e9a81fa3aa49f051b3bf823653.tar.bz2
Add ssse3 implementation of __memcmp16.
__memcmp16 was missing in x86. Also added C-version for backward compatibility. Added bionic test for __memcmp16 and for wmemcmp. Change-Id: I33718441e7ee343cdb021d91dbeaf9ce2d4d7eb4 Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
Diffstat (limited to 'libc/arch-x86/string/ssse3-wmemcmp-atom.S')
-rw-r--r--libc/arch-x86/string/ssse3-wmemcmp-atom.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/arch-x86/string/ssse3-wmemcmp-atom.S b/libc/arch-x86/string/ssse3-wmemcmp-atom.S
index c146b04..2c3fa02 100644
--- a/libc/arch-x86/string/ssse3-wmemcmp-atom.S
+++ b/libc/arch-x86/string/ssse3-wmemcmp-atom.S
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2011, Intel Corporation
+Copyright (c) 2011, 2012, 2013 Intel Corporation
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -29,5 +29,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#define MEMCMP wmemcmp
+
+#define USE_WCHAR
#define USE_AS_WMEMCMP 1
#include "ssse3-memcmp-atom.S"