aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-04-05 05:19:05 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-04-05 09:43:19 -0700
commit5118e532600549ad0f56cb9b1a179b8eab70c483 (patch)
tree6baa45d5850a1e58aa666d5cf1b684d2793caa78
parent06c6d4ae6ee7e5b83fd5868bef494def01f59292 (diff)
downloadglibc-5118e532600549ad0f56cb9b1a179b8eab70c483.tar
glibc-5118e532600549ad0f56cb9b1a179b8eab70c483.tar.gz
glibc-5118e532600549ad0f56cb9b1a179b8eab70c483.tar.bz2
glibc-5118e532600549ad0f56cb9b1a179b8eab70c483.zip
Add a comment in memset-sse2-unaligned-erms.S
* sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add a comment on VMOVU and VMOVA. (cherry picked from commit 696ac774847b80cf994438739478b0c3003b5958)
-rw-r--r--sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S b/sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S
index 2deba42c16..4bf3d36428 100644
--- a/sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S
+++ b/sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S
@@ -1,6 +1,8 @@
#if IS_IN (libc)
# define VEC_SIZE 16
# define VEC(i) xmm##i
+/* Don't use movups and movaps since it will get larger nop paddings
+ for alignment. */
# define VMOVU movdqu
# define VMOVA movdqa