Message ID | 20221031154529.3627576-4-gnu@danielengel.com |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2388464wru; Mon, 31 Oct 2022 08:52:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6a67jsASG6soIjrv+YRkvVyH/nSWC5NiOkiWbwq11F83e36V/7G+ZbeRI7pYp0Y/5gl4bg X-Received: by 2002:a17:907:8a18:b0:7ad:a942:f0e2 with SMTP id sc24-20020a1709078a1800b007ada942f0e2mr13804652ejc.119.1667231545493; Mon, 31 Oct 2022 08:52:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667231545; cv=none; d=google.com; s=arc-20160816; b=bEUayhylJJ1vVpjAtxW0Wl60RLakhnA2gFzAiDDL/Q2p7viJeNeu3Jrypkof4FnbXC Gfxj0c+Hm7cv7sRS+bMPbcfB/ecynRK2hTkkowBpCLpdz0rwoWyi3wtOABJ0dvRWxrvH 4/H7+9NPVM5auGHzf4jutPLpW8ADyI4juYTOXkOOScMnTq5ExVZrhDejwmvE+6uwV6be b+nnvByokSjvVMLD2p8BFGIdHYE4SpbpUyESXPxWUQT1AImHpYTeWEPeapmgjpm7r4jd PRXcSRu+WflDsp8Z5bdjX2d29nds7x7qK/zIGFuZFQUHPbMtSRQWX5NjsLLLb56FHiy+ Tu0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :feedback-id:dkim-signature:dkim-signature:dmarc-filter:delivered-to; bh=xQuk8kPa646vmWTOQ9Zp9zrvJHZN77hxMqAGx+3p9FQ=; b=fCe3pGPvdrY1r6isdVOuo8NOEHmmhG6U6CypDCghDB7SOZ8N9xPaDRi8/s19kGHN1s pP9vxm1lMuedtlv4tOWtKpAZaZOiCiL2S9W8XaEXi1QL5nNjMRsVbDcscrhui+DY2ZEg G9WrEOZW2GN5bOHfg/z/WvirEzVWcaPBHDl8lrQzC2KPdhep8hoIJTMswDWRW5lD0w2P lswHuY7o8AiDJygFsgS+p8INfn8NLsKWX2L5UI758mnlsVasifPYNojAjSOY7kwHHexv fuY4tvGfPqHqv7EGI0sRTUzRL58wB3LKuGa9Uw2hcj2o1AUX+2hBX0RqOi4T9mYcm3Mu Gt5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@danielengel.com header.s=fm1 header.b=mVWc4cAP; dkim=fail header.i=@messagingengine.com header.s=fm3 header.b=B5AC1p44; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id fy15-20020a1709069f0f00b007417e9a2c71si6261892ejc.352.2022.10.31.08.52.25 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Oct 2022 08:52:25 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=fail header.i=@danielengel.com header.s=fm1 header.b=mVWc4cAP; dkim=fail header.i=@messagingengine.com header.s=fm3 header.b=B5AC1p44; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 18C1E3948A77 for <ouuuleilei@gmail.com>; Mon, 31 Oct 2022 15:48:43 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by sourceware.org (Postfix) with ESMTPS id A425C385381B for <gcc-patches@gcc.gnu.org>; Mon, 31 Oct 2022 15:46:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A425C385381B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=danielengel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=danielengel.com Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 8D851320093B; Mon, 31 Oct 2022 11:46:18 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 31 Oct 2022 11:46:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=danielengel.com; h=cc:cc:content-transfer-encoding:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1667231178; x= 1667317578; bh=xQuk8kPa646vmWTOQ9Zp9zrvJHZN77hxMqAGx+3p9FQ=; b=m VWc4cAPHLy4ckXVw1DfjF1bNkRFU3ZbQD5eafKMdUirEwz9VbtpjaanedDLJaoov xaRtaIQAyj51aYr03HgLqxNWQLvOIF1/YR49pfk2FGAU/8m/Es0gaM/Ona1sT20V ilhuw4caOaIgTHT97MVEjPnMce5dPYXrISjkCuIddDbgQKOhlVXTz2AQNZm+X5TE Y/OhpXOiTxFIHzyeoN0H5OlFeQfUTmChsodVuYVnUjwuafoii9r1DV/+mOwM8hVv n26Ip/6MUdN5kLsj9mV8qTuZTkmKl3dz1uhmI2nFHqGQZZUP9ftsnKzQJQhGQOZC GeVsTXqA+SVII3m4hixqg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1667231178; x=1667317578; bh=xQuk8kPa646vm WTOQ9Zp9zrvJHZN77hxMqAGx+3p9FQ=; b=B5AC1p44j2WobU61CAJApFaRWndOg QHj0sPC3sVzNupYLndP1Nwp0dOGo8bFRZ/f1Y3o/LP7kDgno7oGoC+d56sqx48d0 sELKLtlD/6iXcCIUfE+ZgUakIM7aTgOsEF8UIacHDpN/tykqlSOtvYkvIp3EdHGk kYCsBOWdZklxSXYHzIC87oqzVbr2lUiqK0JxyizcgYJQ0aSoRWeKSMhyUKn1euOS vcotF7oNoJJtGY4mIpDGFNWo7zco3ryBHBeovClayVaM4s4HVOHC+pj1fuv156/C qaACxJiXSpLVDqTkjRLRSu+CCoV5Izmt1QV2ep+laKt1mHbVS+Qk8CVUg== X-ME-Sender: <xms:ye1fY17QhM197cg-mDyidsITZbT-44OflAkUYxIfs_VE5-ezDnOszA> <xme:ye1fYy5IX7fFPgXxWa39p1FZgIuz8LjZ5d2zwcZ1Nh7Xvo-Pu07U6WJcKF6aCWUpS U7ja4ezFr3FEg> X-ME-Received: <xmr:ye1fY8dnMxTm4175cwGjjfHpfQRtuXo2Dknta8fV3xFBTfbDohBKtLxMv60_F0eJLJBeZ1SJJrYSOllMs4tFS9Vi2f4F-Qp-QPzCEzGmEOaYnIj82u9Lifs> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrudefgdektdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeffrghnihgv lhcugfhnghgvlhcuoehgnhhusegurghnihgvlhgvnhhgvghlrdgtohhmqeenucggtffrrg htthgvrhhnpeeuieekgfegkeekleffkefhleevgfekkeekheeffeevkeehvdduvdfgvdeg heeuhfenucffohhmrghinheplhhisgdufhhunhgtshdrshgsnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghhnuhesuggrnhhivghlvghnghgv lhdrtghomh X-ME-Proxy: <xmx:ye1fY-Jld0s13QGRBi8FOYL-V1tIj8ZVyXCa5N4k9brV_WXa3OKC9A> <xmx:ye1fY5Ix-4sf6552abUpQ45XIqALnK-3V4GENALgpRmpsxAyn26pBg> <xmx:ye1fY3zj-xeUw_1oX4gs-iVyTFSZBdc_CNbAoITQ7pHYq0A7wcbM7Q> <xmx:yu1fYwUfEKR5_LWCiaF8j4oV-vpO6LCwc0BdI4hRkJZLHA4smc-6vA> Feedback-ID: i791144d6:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 31 Oct 2022 11:46:17 -0400 (EDT) Received: from ubuntu.lorien.danielengel.com (ubuntu.lorien.danielengel.com [10.0.0.96]) by sendmail.lorien.danielengel.com (8.15.2/8.15.2) with ESMTP id 29VFk9nD087238; Mon, 31 Oct 2022 08:46:09 -0700 (PDT) (envelope-from gnu@danielengel.com) From: Daniel Engel <gnu@danielengel.com> To: Richard Earnshaw <Richard.Earnshaw@foss.arm.com>, gcc-patches@gcc.gnu.org Subject: [PATCH v7 03/34] Fix syntax warnings on conditional instructions Date: Mon, 31 Oct 2022 08:44:58 -0700 Message-Id: <20221031154529.3627576-4-gnu@danielengel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221031154529.3627576-1-gnu@danielengel.com> References: <20221031154529.3627576-1-gnu@danielengel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, JMQ_SPF_NEUTRAL, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Cc: Daniel Engel <gnu@danielengel.com>, Christophe Lyon <christophe.lyon@linaro.org> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748218985230939316?= X-GMAIL-MSGID: =?utf-8?q?1748218985230939316?= |
Series |
libgcc: Thumb-1 Floating-Point Assembly for Cortex M0
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Daniel Engel
Oct. 31, 2022, 3:44 p.m. UTC
gcc/libgcc/ChangeLog: 2022-10-09 Daniel Engel <gnu@danielengel.com> * config/arm/lib1funcs.S (RETLDM, ARM_DIV_BODY, ARM_MOD_BODY, _interwork_call_via_lr): Moved condition code after the flags update specifier "s". (ARM_FUNC_START, THUMB_LDIV0): Removed redundant ".syntax". --- libgcc/config/arm/lib1funcs.S | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/libgcc/config/arm/lib1funcs.S b/libgcc/config/arm/lib1funcs.S index 726984a9d1d..f2f82f9d509 100644 --- a/libgcc/config/arm/lib1funcs.S +++ b/libgcc/config/arm/lib1funcs.S @@ -204,7 +204,7 @@ LSYM(Lend_fde): # if defined(__thumb2__) pop\cond {\regs, lr} # else - ldm\cond\dirn sp!, {\regs, lr} + ldm\dirn\cond sp!, {\regs, lr} # endif .endif .ifnc "\unwind", "" @@ -220,7 +220,7 @@ LSYM(Lend_fde): # if defined(__thumb2__) pop\cond {\regs, pc} # else - ldm\cond\dirn sp!, {\regs, pc} + ldm\dirn\cond sp!, {\regs, pc} # endif .endif #endif @@ -292,7 +292,6 @@ LSYM(Lend_fde): pop {r1, pc} #elif defined(__thumb2__) - .syntax unified .ifc \signed, unsigned cbz r0, 1f mov r0, #0xffffffff @@ -429,7 +428,6 @@ SYM (__\name): /* For Thumb-2 we build everything in thumb mode. */ .macro ARM_FUNC_START name FUNC_START \name - .syntax unified .endm #define EQUIV .thumb_set .macro ARM_CALL name @@ -643,7 +641,7 @@ pc .req r15 orrhs \result, \result, \curbit, lsr #3 cmp \dividend, #0 @ Early termination? do_it ne, t - movnes \curbit, \curbit, lsr #4 @ No, any more bits to do? + movsne \curbit, \curbit, lsr #4 @ No, any more bits to do? movne \divisor, \divisor, lsr #4 bne 1b @@ -745,7 +743,7 @@ pc .req r15 subhs \dividend, \dividend, \divisor, lsr #3 cmp \dividend, #1 mov \divisor, \divisor, lsr #4 - subges \order, \order, #4 + subsge \order, \order, #4 bge 1b tst \order, #3 @@ -2093,7 +2091,7 @@ LSYM(Lchange_\register): .globl .Lchange_lr .Lchange_lr: tst lr, #1 - stmeqdb r13!, {lr, pc} + stmdbeq r13!, {lr, pc} mov ip, lr adreq lr, _arm_return bx ip