From patchwork Wed Aug 1 15:20:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 28715 Received: (qmail 95372 invoked by alias); 1 Aug 2018 15:20:36 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 95362 invoked by uid 89); 1 Aug 2018 15:20:36 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.5 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_SHORT, SPF_SOFTFAIL autolearn=ham version=3.3.2 spammy= X-HELO: mga05.intel.com From: "H.J. Lu" To: libc-alpha@sourceware.org Subject: [PATCH] x86: Don't include in assembly codes Date: Wed, 1 Aug 2018 08:20:33 -0700 Message-Id: <20180801152033.17968-1-hjl.tools@gmail.com> There is no need to include in assembly codes since all x86 IFUNC selector functions are written in C. Tested on i686 and x86-64. There is no code change in libc.so, ld.so and libmvec.so. --- sysdeps/i386/i686/multiarch/bzero-ia32.S | 1 - sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S | 1 - sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S | 1 - sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S | 1 - 4 files changed, 4 deletions(-) diff --git a/sysdeps/i386/i686/multiarch/bzero-ia32.S b/sysdeps/i386/i686/multiarch/bzero-ia32.S index 68ff9e1e90..94d13e88f7 100644 --- a/sysdeps/i386/i686/multiarch/bzero-ia32.S +++ b/sysdeps/i386/i686/multiarch/bzero-ia32.S @@ -17,7 +17,6 @@ . */ #include -#include #if IS_IN (libc) # define __bzero __bzero_ia32 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 index b64c3390d6..87536a06a3 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S @@ -17,7 +17,6 @@ . */ #include -#include #define _ZGVeN8v_sin _ZGVeN8v_sin_avx2_wrapper #include "../svml_d_sin8_core.S" 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 index e0b7fd787f..16713ba714 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S @@ -17,7 +17,6 @@ . */ #include -#include #define _ZGVeN16v_expf _ZGVeN16v_expf_avx2_wrapper #include "../svml_s_expf16_core.S" diff --git a/sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S b/sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S index be6671759b..56b81f5cc5 100644 --- a/sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S +++ b/sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S @@ -19,7 +19,6 @@ #include #include -#include #if IS_IN (libc) # define MEMSET_SYMBOL(p,s) p##_sse2_##s