about summary refs log tree commit diff
path: root/sysdeps/x86_64/fpu/multiarch/s_floorf.S
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2015-08-14 05:30:17 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-08-14 07:52:41 -0700
commit19ee25064ae11a6db9ba36499c8784cbdbdae341 (patch)
treed1fd3fedcd26b7df4cc5ffa4412f827241fd2c18 /sysdeps/x86_64/fpu/multiarch/s_floorf.S
parent22ce18019f83b1f9826c32aa2ee56dc0df3fbd49 (diff)
downloadglibc-hjl/plt/2.21.tar.gz
glibc-hjl/plt/2.21.tar.xz
glibc-hjl/plt/2.21.zip
Remove incorrect register mov in floorf/nearbyint on x86_64 hjl/plt/2.21
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.
Diffstat (limited to 'sysdeps/x86_64/fpu/multiarch/s_floorf.S')
-rw-r--r--sysdeps/x86_64/fpu/multiarch/s_floorf.S1
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/x86_64/fpu/multiarch/s_floorf.S b/sysdeps/x86_64/fpu/multiarch/s_floorf.S
index f60f662e03..9d67847d07 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