|
|
b1dca6 |
commit 430388d5dc0e1861b869096f4f5d946d7d74232a
|
|
|
b1dca6 |
Author: H.J. Lu <hjl.tools@gmail.com>
|
|
|
b1dca6 |
Date: Fri Aug 3 08:04:49 2018 -0700
|
|
|
b1dca6 |
|
|
|
b1dca6 |
x86: Don't include <init-arch.h> in assembly codes
|
|
|
b1dca6 |
|
|
|
b1dca6 |
There is no need to include <init-arch.h> in assembly codes since all
|
|
|
b1dca6 |
x86 IFUNC selector functions are written in C. Tested on i686 and
|
|
|
b1dca6 |
x86-64. There is no code change in libc.so, ld.so and libmvec.so.
|
|
|
b1dca6 |
|
|
|
b1dca6 |
* sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
|
|
|
b1dca6 |
<init-arch.h>.
|
|
|
b1dca6 |
* sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
|
|
|
b1dca6 |
* sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
|
|
|
b1dca6 |
* sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
|
|
|
b1dca6 |
|
|
|
b1dca6 |
diff --git a/sysdeps/i386/i686/multiarch/bzero-ia32.S b/sysdeps/i386/i686/multiarch/bzero-ia32.S
|
|
|
b1dca6 |
index 68ff9e1e903f7c4c..94d13e88f7532bc0 100644
|
|
|
b1dca6 |
--- a/sysdeps/i386/i686/multiarch/bzero-ia32.S
|
|
|
b1dca6 |
+++ b/sysdeps/i386/i686/multiarch/bzero-ia32.S
|
|
|
b1dca6 |
@@ -17,7 +17,6 @@
|
|
|
b1dca6 |
<http://www.gnu.org/licenses/>. */
|
|
|
b1dca6 |
|
|
|
b1dca6 |
#include <sysdep.h>
|
|
|
b1dca6 |
-#include <init-arch.h>
|
|
|
b1dca6 |
|
|
|
b1dca6 |
#if IS_IN (libc)
|
|
|
b1dca6 |
# define __bzero __bzero_ia32
|
|
|
b1dca6 |
diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S
|
|
|
b1dca6 |
index b64c3390d6169d18..87536a06a3ed54c6 100644
|
|
|
b1dca6 |
--- a/sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S
|
|
|
b1dca6 |
+++ b/sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S
|
|
|
b1dca6 |
@@ -17,7 +17,6 @@
|
|
|
b1dca6 |
<http://www.gnu.org/licenses/>. */
|
|
|
b1dca6 |
|
|
|
b1dca6 |
#include <sysdep.h>
|
|
|
b1dca6 |
-#include <init-arch.h>
|
|
|
b1dca6 |
|
|
|
b1dca6 |
#define _ZGVeN8v_sin _ZGVeN8v_sin_avx2_wrapper
|
|
|
b1dca6 |
#include "../svml_d_sin8_core.S"
|
|
|
b1dca6 |
diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S
|
|
|
b1dca6 |
index e0b7fd787fa6428d..16713ba7142ecad6 100644
|
|
|
b1dca6 |
--- a/sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S
|
|
|
b1dca6 |
+++ b/sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S
|
|
|
b1dca6 |
@@ -17,7 +17,6 @@
|
|
|
b1dca6 |
<http://www.gnu.org/licenses/>. */
|
|
|
b1dca6 |
|
|
|
b1dca6 |
#include <sysdep.h>
|
|
|
b1dca6 |
-#include <init-arch.h>
|
|
|
b1dca6 |
|
|
|
b1dca6 |
#define _ZGVeN16v_expf _ZGVeN16v_expf_avx2_wrapper
|
|
|
b1dca6 |
#include "../svml_s_expf16_core.S"
|
|
|
b1dca6 |
diff --git a/sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S b/sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S
|
|
|
b1dca6 |
index be6671759beaaa84..56b81f5cc5288808 100644
|
|
|
b1dca6 |
--- a/sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S
|
|
|
b1dca6 |
+++ b/sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S
|
|
|
b1dca6 |
@@ -19,7 +19,6 @@
|
|
|
b1dca6 |
|
|
|
b1dca6 |
#include <sysdep.h>
|
|
|
b1dca6 |
#include <shlib-compat.h>
|
|
|
b1dca6 |
-#include <init-arch.h>
|
|
|
b1dca6 |
|
|
|
b1dca6 |
#if IS_IN (libc)
|
|
|
b1dca6 |
# define MEMSET_SYMBOL(p,s) p##_sse2_##s
|