From patchwork Fri Mar 4 18:19:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sunil Pandey X-Patchwork-Id: 1601366 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=aluX3tLN; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4K9GNX5CMlz9sFy for ; Sat, 5 Mar 2022 05:19:56 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2E903385801A for ; Fri, 4 Mar 2022 18:19:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2E903385801A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1646417994; bh=oiYjHncqlHwIhfToDaz1ao9Vrn4DbBP/GX81PTFDyKA=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=aluX3tLNL2jtxCYEZk5imj80UAhVn7ehIoPwNMDDFdFhaOapksBaLRU0yAq004A/B EaU/4W9aGIEMOvPkWoFWVH7BKnuLT7L/wA8T6PJ21SNYPHJgd8f1Ie9YG6HuKqpps8 M9t3qAycxeeLlG4R7ES+NkL1skubntgCXaS5H/ig= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by sourceware.org (Postfix) with ESMTPS id 7547F3858D39 for ; Fri, 4 Mar 2022 18:19:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7547F3858D39 X-IronPort-AV: E=McAfee;i="6200,9189,10276"; a="251607723" X-IronPort-AV: E=Sophos;i="5.90,155,1643702400"; d="scan'208";a="251607723" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Mar 2022 10:19:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,155,1643702400"; d="scan'208";a="594858926" Received: from scymds01.sc.intel.com ([10.148.94.138]) by fmsmga008.fm.intel.com with ESMTP; 04 Mar 2022 10:19:35 -0800 Received: from gskx-1.sc.intel.com (gskx-1.sc.intel.com [172.25.149.211]) by scymds01.sc.intel.com with ESMTP id 224IJYwx023504; Fri, 4 Mar 2022 10:19:35 -0800 To: libc-alpha@sourceware.org Subject: [PATCH] x86_64: Fix svml_s_acosf16_core_avx512.S code formatting Date: Fri, 4 Mar 2022 10:19:34 -0800 Message-Id: <20220304181934.1556938-1-skpgkp2@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, GIT_PATCH_0, HK_RANDOM_ENVFROM, HK_RANDOM_FROM, KAM_DMARC_NONE, KAM_DMARC_STATUS, NML_ADSP_CUSTOM_MED, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_SOFTFAIL, SPOOFED_FREEMAIL, SPOOF_GMAIL_MID, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Sunil K Pandey via Libc-alpha From: Sunil Pandey Reply-To: Sunil K Pandey Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" This commit contains following formatting changes 1. Instructions proceeded by a tab. 2. Instruction less than 8 characters in length have a tab between it and the first operand. 3. Instruction greater than 7 characters in length have a space between it and the first operand. 4. Tab after `#define`d names and their value. 5. 8 space at the beginning of line replaced by tab. --- .../multiarch/svml_s_acosf16_core_avx512.S | 344 +++++++++--------- 1 file changed, 172 insertions(+), 172 deletions(-) diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_acosf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_acosf16_core_avx512.S index 7708073975..026c15830d 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_acosf16_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_acosf16_core_avx512.S @@ -29,243 +29,243 @@ /* Offsets for data table __svml_sacos_data_internal */ -#define SgnBit 0 -#define OneHalf 64 -#define SmallNorm 128 -#define MOne 192 -#define Two 256 -#define sqrt_coeff_1 320 -#define sqrt_coeff_2 384 -#define poly_coeff_1 448 -#define poly_coeff_2 512 -#define poly_coeff_3 576 -#define poly_coeff_4 640 -#define poly_coeff_5 704 -#define Pi2H 768 -#define PiH 832 +#define SgnBit 0 +#define OneHalf 64 +#define SmallNorm 128 +#define MOne 192 +#define Two 256 +#define sqrt_coeff_1 320 +#define sqrt_coeff_2 384 +#define poly_coeff_1 448 +#define poly_coeff_2 512 +#define poly_coeff_3 576 +#define poly_coeff_4 640 +#define poly_coeff_5 704 +#define Pi2H 768 +#define PiH 832 #include - .text + .text .section .text.exex512,"ax",@progbits ENTRY(_ZGVeN16v_acosf_skx) - pushq %rbp - cfi_def_cfa_offset(16) - movq %rsp, %rbp - cfi_def_cfa(6, 16) - cfi_offset(6, -16) - andq $-64, %rsp - subq $192, %rsp - vmovups __svml_sacos_data_internal(%rip), %zmm5 - vmovups OneHalf+__svml_sacos_data_internal(%rip), %zmm6 + pushq %rbp + cfi_def_cfa_offset(16) + movq %rsp, %rbp + cfi_def_cfa(6, 16) + cfi_offset(6, -16) + andq $-64, %rsp + subq $192, %rsp + vmovups __svml_sacos_data_internal(%rip), %zmm5 + vmovups OneHalf+__svml_sacos_data_internal(%rip), %zmm6 /* SQ ~ 2*sqrt(Y) */ - vmovups SmallNorm+__svml_sacos_data_internal(%rip), %zmm9 - vmovups MOne+__svml_sacos_data_internal(%rip), %zmm8 - vmovups Two+__svml_sacos_data_internal(%rip), %zmm12 - vmovups sqrt_coeff_1+__svml_sacos_data_internal(%rip), %zmm13 - vmovaps %zmm0, %zmm4 + vmovups SmallNorm+__svml_sacos_data_internal(%rip), %zmm9 + vmovups MOne+__svml_sacos_data_internal(%rip), %zmm8 + vmovups Two+__svml_sacos_data_internal(%rip), %zmm12 + vmovups sqrt_coeff_1+__svml_sacos_data_internal(%rip), %zmm13 + vmovaps %zmm0, %zmm4 /* x = -|arg| */ - vorps %zmm4, %zmm5, %zmm3 - vandps %zmm4, %zmm5, %zmm2 - vmovups sqrt_coeff_2+__svml_sacos_data_internal(%rip), %zmm0 + vorps %zmm4, %zmm5, %zmm3 + vandps %zmm4, %zmm5, %zmm2 + vmovups sqrt_coeff_2+__svml_sacos_data_internal(%rip), %zmm0 /* Y = 0.5 + 0.5*(-x) */ - vfmadd231ps {rn-sae}, %zmm3, %zmm6, %zmm6 + vfmadd231ps {rn-sae}, %zmm3, %zmm6, %zmm6 /* x^2 */ - vmulps {rn-sae}, %zmm3, %zmm3, %zmm7 - vrsqrt14ps %zmm6, %zmm10 - vcmpps $17, {sae}, %zmm9, %zmm6, %k1 - vcmpps $22, {sae}, %zmm3, %zmm8, %k0 - vmovups poly_coeff_4+__svml_sacos_data_internal(%rip), %zmm9 - vminps {sae}, %zmm6, %zmm7, %zmm1 - vmovups poly_coeff_3+__svml_sacos_data_internal(%rip), %zmm7 - vxorps %zmm10, %zmm10, %zmm10{%k1} - vaddps {rn-sae}, %zmm6, %zmm6, %zmm14 - vmulps {rn-sae}, %zmm1, %zmm1, %zmm8 - vmulps {rn-sae}, %zmm10, %zmm10, %zmm11 - vmulps {rn-sae}, %zmm10, %zmm14, %zmm5 - vcmpps $21, {sae}, %zmm6, %zmm1, %k4 + vmulps {rn-sae}, %zmm3, %zmm3, %zmm7 + vrsqrt14ps %zmm6, %zmm10 + vcmpps $17, {sae}, %zmm9, %zmm6, %k1 + vcmpps $22, {sae}, %zmm3, %zmm8, %k0 + vmovups poly_coeff_4+__svml_sacos_data_internal(%rip), %zmm9 + vminps {sae}, %zmm6, %zmm7, %zmm1 + vmovups poly_coeff_3+__svml_sacos_data_internal(%rip), %zmm7 + vxorps %zmm10, %zmm10, %zmm10{%k1} + vaddps {rn-sae}, %zmm6, %zmm6, %zmm14 + vmulps {rn-sae}, %zmm1, %zmm1, %zmm8 + vmulps {rn-sae}, %zmm10, %zmm10, %zmm11 + vmulps {rn-sae}, %zmm10, %zmm14, %zmm5 + vcmpps $21, {sae}, %zmm6, %zmm1, %k4 /* X