summary refs log tree commit diff
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 05:19:18 -0700
commit696ac774847b80cf994438739478b0c3003b5958 (patch)
tree1ea5c261e682787c18fcb7ba1b55b6c47901b403
parent985fc132f23dbb83de76c5af9e783ef1b5900148 (diff)
downloadglibc-696ac774847b80cf994438739478b0c3003b5958.tar.gz
glibc-696ac774847b80cf994438739478b0c3003b5958.tar.xz
glibc-696ac774847b80cf994438739478b0c3003b5958.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.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index eb9a669583..4b2f408e89 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
+
+	* sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
+	a comment on VMOVU and VMOVA.
+
 2016-04-04  Florian Weimer  <fweimer@redhat.com>
 
 	[BZ #19633]
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