This is the mail archive of the glibc-cvs@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]

GNU C Library master sources branch master updated. glibc-2.22-65-g37dd6a1


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  37dd6a19ca36b84cdef7e51dffcb68a2cbf54a6a (commit)
      from  3ba0ac10fa9dd577dfe2f36c47bc95467d9a1ca2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=37dd6a19ca36b84cdef7e51dffcb68a2cbf54a6a

commit 37dd6a19ca36b84cdef7e51dffcb68a2cbf54a6a
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Fri Aug 14 05:30:17 2015 -0700

    Remove incorrect register mov in floorf/nearbyint on x86_64
    
    The change in 0b5395f052ee09cd7e3d219af4e805c38058afb5 replaced calls
    to __get_cpu_features@plt followed by a mov from rax to rdx, with a
    single macro LOAD_RTLD_GLOBAL_RO_RDX.  It is pretty clear that there
    was a typo in s_floorf and __nearbyint due to which the (now incorrect)
    mov was not removed.  This patch removes that mov.
    
    	* sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
    	unnecessary movq.
    	* sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
    	Likewise.

diff --git a/ChangeLog b/ChangeLog
index b9ff0dd..f33a11a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+	* sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
+	unnecessary movq.
+	* sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
+	Likewise.
+
 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
 
 	* math/auto-libm-test-in: Add more tests of acos, acosh, asin,
diff --git a/sysdeps/x86_64/fpu/multiarch/s_floorf.S b/sysdeps/x86_64/fpu/multiarch/s_floorf.S
index f60f662..9d67847 100644
--- a/sysdeps/x86_64/fpu/multiarch/s_floorf.S
+++ b/sysdeps/x86_64/fpu/multiarch/s_floorf.S
@@ -23,7 +23,6 @@
 ENTRY(__floorf)
 	.type	__floorf, @gnu_indirect_function
 	LOAD_RTLD_GLOBAL_RO_RDX
-	movq	%rax, %rdx
 	leaq	__floorf_sse41(%rip), %rax
 	HAS_CPU_FEATURE (SSE4_1)
 	jnz	2f
diff --git a/sysdeps/x86_64/fpu/multiarch/s_nearbyint.S b/sysdeps/x86_64/fpu/multiarch/s_nearbyint.S
index 109395c..2c13024 100644
--- a/sysdeps/x86_64/fpu/multiarch/s_nearbyint.S
+++ b/sysdeps/x86_64/fpu/multiarch/s_nearbyint.S
@@ -23,7 +23,6 @@
 ENTRY(__nearbyint)
 	.type	__nearbyint, @gnu_indirect_function
 	LOAD_RTLD_GLOBAL_RO_RDX
-	movq	%rax, %rdx
 	leaq	__nearbyint_sse41(%rip), %rax
 	HAS_CPU_FEATURE (SSE4_1)
 	jnz	2f

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                  |    7 +++++++
 sysdeps/x86_64/fpu/multiarch/s_floorf.S    |    1 -
 sysdeps/x86_64/fpu/multiarch/s_nearbyint.S |    1 -
 3 files changed, 7 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]