Blame SOURCES/glibc-rh1292018-4.patch

147e83
commit 37dd6a19ca36b84cdef7e51dffcb68a2cbf54a6a
147e83
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
147e83
Date:   Fri Aug 14 05:30:17 2015 -0700
147e83
147e83
    Remove incorrect register mov in floorf/nearbyint on x86_64
147e83
    
147e83
    The change in 0b5395f052ee09cd7e3d219af4e805c38058afb5 replaced calls
147e83
    to __get_cpu_features@plt followed by a mov from rax to rdx, with a
147e83
    single macro LOAD_RTLD_GLOBAL_RO_RDX.  It is pretty clear that there
147e83
    was a typo in s_floorf and __nearbyint due to which the (now incorrect)
147e83
    mov was not removed.  This patch removes that mov.
147e83
    
147e83
        * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
147e83
        unnecessary movq.
147e83
        * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
147e83
        Likewise.
147e83
147e83
diff --git a/sysdeps/x86_64/fpu/multiarch/s_floorf.S b/sysdeps/x86_64/fpu/multiarch/s_floorf.S
147e83
index f60f662..9d67847 100644
147e83
--- a/sysdeps/x86_64/fpu/multiarch/s_floorf.S
147e83
+++ b/sysdeps/x86_64/fpu/multiarch/s_floorf.S
147e83
@@ -23,7 +23,6 @@
147e83
 ENTRY(__floorf)
147e83
 	.type	__floorf, @gnu_indirect_function
147e83
 	LOAD_RTLD_GLOBAL_RO_RDX
147e83
-	movq	%rax, %rdx
147e83
 	leaq	__floorf_sse41(%rip), %rax
147e83
 	HAS_CPU_FEATURE (SSE4_1)
147e83
 	jnz	2f
147e83
diff --git a/sysdeps/x86_64/fpu/multiarch/s_nearbyint.S b/sysdeps/x86_64/fpu/multiarch/s_nearbyint.S
147e83
index 109395c..2c13024 100644
147e83
--- a/sysdeps/x86_64/fpu/multiarch/s_nearbyint.S
147e83
+++ b/sysdeps/x86_64/fpu/multiarch/s_nearbyint.S
147e83
@@ -23,7 +23,6 @@
147e83
 ENTRY(__nearbyint)
147e83
 	.type	__nearbyint, @gnu_indirect_function
147e83
 	LOAD_RTLD_GLOBAL_RO_RDX
147e83
-	movq	%rax, %rdx
147e83
 	leaq	__nearbyint_sse41(%rip), %rax
147e83
 	HAS_CPU_FEATURE (SSE4_1)
147e83
 	jnz	2f