From patchwork Fri Oct 6 14:41:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 149278 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp379309vqo; Fri, 6 Oct 2023 07:41:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IED9jOJaDmhd5+yusvZ+7CbNzbeQGBvo+7J2n3dnpTuR9y4fdTyCg8BhfSB+W8yC1LoQaaB X-Received: by 2002:a9d:6d8f:0:b0:6bc:8930:a1d4 with SMTP id x15-20020a9d6d8f000000b006bc8930a1d4mr8576291otp.15.1696603312743; Fri, 06 Oct 2023 07:41:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696603312; cv=none; d=google.com; s=arc-20160816; b=ILaF+uvgvIeQoVnMEeFkc5/XRG0RjacgTmO2j7JvJqhnrjuYzfXbQ03Epr+qacfMJK W9OK3CEu2d5FsAEDdCWRVtKN8QZW70Wgv4g/wABg6OqaHL2QSfKxZXFgHbnQ/2llCffr s7ZAfPCj9ozvCR6G0sVlMRKGIJ2t+d0EArhyrJ54TfS0lX/X+NpBhh7YTvDOd2zREgLb Q36kV3FX3+hgkjsI+LByukyEB+xJmGIKV0s7MisJ6ApFn1C2gK56rL614k3uj9/+yvxQ olJJG3hnosKyqDRoUAMpI88iD220qbpTPkCkGMB4auFgkm6AW8IH+zi5Eqcrcz6Wv7Y/ ZXOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=ziJKo0IWLN4c1AdnZKIK+BI4Dt2mG4e5HNyU4g/q5mQ=; fh=sJfVPp9TpZpqbPKPLxG7q4Z2mBGbVYcKWDRgOiqd4Ug=; b=LOnG/MNmHPoQ0VfeSeiOtufyJjrVKW3JcjYqz6HqcpM+8WEFfdmXa8JftOKNFktpYm s4SdvW3WUjzqEo8sAkfrdqXeUwe2fcSfInoPOrKSioTrZkOllJT1dVMR24oU3C7iJ3Be HirKkexuetNmMJjccVFLYzZVlDY2Yq1JXsukrtikXUIHPxkfolCg1ta5i7s9Jzmh2x+q nBmSw2fTiCLgBFxzZ766R98FKGYeqNRg5vSSsmwddU3/Njs/eqM1WOQ0duag0VCNR2DK WlNSlv0oMhNRgp0ARKSeaOnHZJ4iHvHSmq4Jpe3FJB4/Txj477zGGT4+itfW5u+84Yi3 NyIw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id 130-20020a630088000000b00578b4992008si3616725pga.133.2023.10.06.07.41.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 07:41:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 8B53A8263168; Fri, 6 Oct 2023 07:41:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232574AbjJFOl2 (ORCPT + 18 others); Fri, 6 Oct 2023 10:41:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232546AbjJFOlY (ORCPT ); Fri, 6 Oct 2023 10:41:24 -0400 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B0B6CE for ; Fri, 6 Oct 2023 07:41:21 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:5e53:403c:300c:38ca]) by laurent.telenet-ops.be with bizsmtp id uehJ2A0030nPCdM01ehJJq; Fri, 06 Oct 2023 16:41:18 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qom10-005X4k-4h; Fri, 06 Oct 2023 16:41:18 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qom10-006v2c-2b; Fri, 06 Oct 2023 16:41:18 +0200 From: Geert Uytterhoeven To: linux-m68k@lists.linux-m68k.org Cc: linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 5/5] m68k: fpsp040: Fix indentation by 5 spaces Date: Fri, 6 Oct 2023 16:41:14 +0200 Message-Id: <5ab108be356a5d2a6e6d72bc418ccf1c1938e8fe.1696602993.git.geert@linux-m68k.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=2.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 06 Oct 2023 07:41:45 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779017515513823721 X-GMAIL-MSGID: 1779017515513823721 Indentation should use TABs, not spaces. Signed-off-by: Geert Uytterhoeven --- arch/m68k/fpsp040/slogn.S | 88 +++++++++++++++++++-------------------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/arch/m68k/fpsp040/slogn.S b/arch/m68k/fpsp040/slogn.S index d98eaf641ec4c65b..5f3da4aa7e4515c7 100644 --- a/arch/m68k/fpsp040/slogn.S +++ b/arch/m68k/fpsp040/slogn.S @@ -261,56 +261,56 @@ slognd: |----the value TWOTO100 is no longer needed. |----Note that this code assumes the denormalized input is NON-ZERO. - moveml %d2-%d7,-(%a7) | ...save some registers - movel #0x00000000,%d3 | ...D3 is exponent of smallest norm. # - movel 4(%a0),%d4 - movel 8(%a0),%d5 | ...(D4,D5) is (Hi_X,Lo_X) - clrl %d2 | ...D2 used for holding K + moveml %d2-%d7,-(%a7) | ...save some registers + movel #0x00000000,%d3 | ...D3 is exponent of smallest norm. # + movel 4(%a0),%d4 + movel 8(%a0),%d5 | ...(D4,D5) is (Hi_X,Lo_X) + clrl %d2 | ...D2 used for holding K - tstl %d4 - bnes HiX_not0 + tstl %d4 + bnes HiX_not0 HiX_0: - movel %d5,%d4 - clrl %d5 - movel #32,%d2 - clrl %d6 - bfffo %d4{#0:#32},%d6 - lsll %d6,%d4 - addl %d6,%d2 | ...(D3,D4,D5) is normalized - - movel %d3,X(%a6) - movel %d4,XFRAC(%a6) - movel %d5,XFRAC+4(%a6) - negl %d2 - movel %d2,ADJK(%a6) - fmovex X(%a6),%fp0 - moveml (%a7)+,%d2-%d7 | ...restore registers - lea X(%a6),%a0 - bras LOGBGN | ...begin regular log(X) + movel %d5,%d4 + clrl %d5 + movel #32,%d2 + clrl %d6 + bfffo %d4{#0:#32},%d6 + lsll %d6,%d4 + addl %d6,%d2 | ...(D3,D4,D5) is normalized + + movel %d3,X(%a6) + movel %d4,XFRAC(%a6) + movel %d5,XFRAC+4(%a6) + negl %d2 + movel %d2,ADJK(%a6) + fmovex X(%a6),%fp0 + moveml (%a7)+,%d2-%d7 | ...restore registers + lea X(%a6),%a0 + bras LOGBGN | ...begin regular log(X) HiX_not0: - clrl %d6 - bfffo %d4{#0:#32},%d6 | ...find first 1 - movel %d6,%d2 | ...get k - lsll %d6,%d4 - movel %d5,%d7 | ...a copy of D5 - lsll %d6,%d5 - negl %d6 - addil #32,%d6 - lsrl %d6,%d7 - orl %d7,%d4 | ...(D3,D4,D5) normalized - - movel %d3,X(%a6) - movel %d4,XFRAC(%a6) - movel %d5,XFRAC+4(%a6) - negl %d2 - movel %d2,ADJK(%a6) - fmovex X(%a6),%fp0 - moveml (%a7)+,%d2-%d7 | ...restore registers - lea X(%a6),%a0 - bras LOGBGN | ...begin regular log(X) + clrl %d6 + bfffo %d4{#0:#32},%d6 | ...find first 1 + movel %d6,%d2 | ...get k + lsll %d6,%d4 + movel %d5,%d7 | ...a copy of D5 + lsll %d6,%d5 + negl %d6 + addil #32,%d6 + lsrl %d6,%d7 + orl %d7,%d4 | ...(D3,D4,D5) normalized + + movel %d3,X(%a6) + movel %d4,XFRAC(%a6) + movel %d5,XFRAC+4(%a6) + negl %d2 + movel %d2,ADJK(%a6) + fmovex X(%a6),%fp0 + moveml (%a7)+,%d2-%d7 | ...restore registers + lea X(%a6),%a0 + bras LOGBGN | ...begin regular log(X) .global slogn