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