Message ID | CAOfV4Gf4C=R=S1fnUYqdjE9tU8FO3h8Vvk8fc891sStaMuzmaA@mail.gmail.com |
---|---|
State | New, archived |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6a10:38f:b0:2d5:3c95:9e21 with SMTP id 15csp222164pxh; Thu, 11 Aug 2022 06:36:28 -0700 (PDT) X-Google-Smtp-Source: AA6agR4rAsuVi/qwMUYea/NnYMvryD25KnWmdZKVImKWqBdlQOUFHaFEjLuUYNMSLioJIIcGtZZG X-Received: by 2002:a05:6402:12cb:b0:43d:6e77:19a7 with SMTP id k11-20020a05640212cb00b0043d6e7719a7mr31972737edx.342.1660224988731; Thu, 11 Aug 2022 06:36:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660224988; cv=none; d=google.com; s=arc-20160816; b=ZOfPXqBsfbVC8dwpR429a2D0DYmza+wrLtGFY3zdFBFEHrAHpv9YZgomHgSnVoQYzo h90gyrUmYyJ/ExHEXdRfg2fzetlNin6PY7yPFjnaL1IM04Yzn4+FTSZDbw5VPhWstIeL 1dlp5/mj2fhx7rgFB8+YaoG7Jf28Yctgky+XAYbPA6hLUJh9LDbWTUNYqSbG2S001hvW 5jy0gNb0yNu+7yHMQjzJef5hFDxeRaE48D2FzHT8Vywu2SH7lSgdi91zzYgAOFcFlYZm LdyyFApe66GesQqlnXo7M5SZbPfPPkBoFpjeZ+MpuoAYzsf9q6z47dnnbQ+1OQJ2SAW8 snQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:to:subject :message-id:date:mime-version:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=acEBgbZFP6HdIe4JymLENB7D3dYUTbptrpAfxxSNi+o=; b=vBBAqUL4gl3xYE4Dl54BmBfMWY8EN1OG7dA05rNXGcnvPuzEx2WpZg7LdDdvdXI4B+ Ie3jVunEjESde4AyCKfwB1dzN0e+OX1vhy6WthLO0M4B+GoDA+HT8af9Bpun4nsLd9Dh iDRjDQkWQclDs0aYXxs+j25XG8Uo3DMKiaM/2jnaWezgDKoulD8ULSRq/JOLGf5+Wr8G 6b/gBR/E9R79Tbd+ouvdWN86MfQh2tbrPSrah3uUJaVmj/ym5Tv2q7txJp1tMMTrwbt5 lSxtYVxeUqQRepUh5eBaJV+ZYljvvcTxiikPkh/GZWuZ3/l9E0pINzgF5WEwACpQbP8G JWhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=IaWa5nHd; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id z7-20020a509e07000000b0043bd2a5278csi13707020ede.493.2022.08.11.06.36.28 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Aug 2022 06:36:28 -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=pass header.i=@gcc.gnu.org header.s=default header.b=IaWa5nHd; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5E82F385AC2C for <ouuuleilei@gmail.com>; Thu, 11 Aug 2022 13:36:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5E82F385AC2C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1660224987; bh=acEBgbZFP6HdIe4JymLENB7D3dYUTbptrpAfxxSNi+o=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=IaWa5nHdpj9uxFENBdbwqRQZgCm52aSGczNUj7jrPcitwph3MKGtp/ElYNDZeUUts i2GJ7p+HxX7VQWo1z/coNHIWztPYeF/rCcuegKEBVXRjhCHYQ2V/G4I5rqmDYGzybf 5d38HhL39uYxCs6a1bUpvF0bO0NXw9Nr7uHDaKdE= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) by sourceware.org (Postfix) with ESMTPS id A9FFF3858C74 for <gcc-patches@gcc.gnu.org>; Thu, 11 Aug 2022 13:35:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A9FFF3858C74 Received: by mail-yb1-xb32.google.com with SMTP id y127so28203236yby.8 for <gcc-patches@gcc.gnu.org>; Thu, 11 Aug 2022 06:35:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc; bh=acEBgbZFP6HdIe4JymLENB7D3dYUTbptrpAfxxSNi+o=; b=a8L1bp6+PQPK3CzPRieYukflQ7dQQTQusiHglbSm26G19QmdnsanhndQ5831zxVXAW I4qDUhcucVuTcVGXYv/YL27KDgsxumWEt+R+cvlKCKnsX4eDJjsZ1ycq5/ATzOso/Y0v uFMjcsPabPfLFIpZQMIzvUD8ilSN7jipzs4GrElrrmFm6SaGGEjchRQH7Zjh/cxpMpHH pkONt8YjU83B1mCbRaLq1bVg9JYyt17S7vy624H4OHggfj4YvubJo87xEoaOk9nVMpCp c+KPyoEgNt1rUgqBPce+V9Xaza68yX5ZY/jf282upyWONR7e4asYind5Q+JhSC9UFL/E 8pVw== X-Gm-Message-State: ACgBeo2hREXKWx6sPa3VNJkf0Mk8EEDQhulb9y0BWra4Pvgu2NXQb6Hw 0BLbBdozUfQdN2kJDnX69gkDEBHmn18Y6BRAJELlDl8mH4I= X-Received: by 2002:a25:2f88:0:b0:67c:3551:2756 with SMTP id v130-20020a252f88000000b0067c35512756mr9856953ybv.184.1660224942801; Thu, 11 Aug 2022 06:35:42 -0700 (PDT) MIME-Version: 1.0 Date: Thu, 11 Aug 2022 09:35:32 -0400 Message-ID: <CAOfV4Gf4C=R=S1fnUYqdjE9tU8FO3h8Vvk8fc891sStaMuzmaA@mail.gmail.com> Subject: [PATCH] arm: unified syntax for libgcc clear_cache To: gcc-patches@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-8.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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> From: Seija Kijin via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Seija Kijin <doremylover456@gmail.com> 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?1740872077784099288?= X-GMAIL-MSGID: =?utf-8?q?1740872077784099288?= |
Series |
arm: unified syntax for libgcc clear_cache
|
|
Commit Message
Seija Kijin
Aug. 11, 2022, 1:35 p.m. UTC
The patch to convert all thumb1 code in libgcc to unified syntax omitted changing all swi instructions to the current name: svc. This patch fixes this case. --- libgcc/config/arm/lib1funcs.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Hi Seija, > -----Original Message----- > From: Gcc-patches <gcc-patches- > bounces+kyrylo.tkachov=arm.com@gcc.gnu.org> On Behalf Of Seija Kijin via > Gcc-patches > Sent: Thursday, August 11, 2022 2:36 PM > To: gcc-patches@gcc.gnu.org > Subject: [PATCH] arm: unified syntax for libgcc clear_cache > > The patch to convert all thumb1 code in libgcc to unified syntax > omitted changing all swi instructions to the current name: svc. > > This patch fixes this case. This is ok, thanks. Do you need someone to commit this for you? Kyrill > > --- > libgcc/config/arm/lib1funcs.S | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libgcc/config/arm/lib1funcs.S b/libgcc/config/arm/lib1funcs.S > index 8c39c9f20a2b..19fa1462ccf3 100644 > --- a/libgcc/config/arm/lib1funcs.S > +++ b/libgcc/config/arm/lib1funcs.S > @@ -1522,7 +1522,7 @@ LSYM(Lover12): > add r7, r7, #2 > #endif > mov r2, #0 > - swi 0 > + svc 0 > do_pop {r7} > RET > FUNC_END clear_cache
Yes, please! On Tue, Sep 6, 2022 at 10:48 AM Kyrylo Tkachov <Kyrylo.Tkachov@arm.com> wrote: > > Hi Seija, > > > -----Original Message----- > > From: Gcc-patches <gcc-patches- > > bounces+kyrylo.tkachov=arm.com@gcc.gnu.org> On Behalf Of Seija Kijin via > > Gcc-patches > > Sent: Thursday, August 11, 2022 2:36 PM > > To: gcc-patches@gcc.gnu.org > > Subject: [PATCH] arm: unified syntax for libgcc clear_cache > > > > The patch to convert all thumb1 code in libgcc to unified syntax > > omitted changing all swi instructions to the current name: svc. > > > > This patch fixes this case. > > This is ok, thanks. > Do you need someone to commit this for you? > > Kyrill > > > > > --- > > libgcc/config/arm/lib1funcs.S | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/libgcc/config/arm/lib1funcs.S b/libgcc/config/arm/lib1funcs.S > > index 8c39c9f20a2b..19fa1462ccf3 100644 > > --- a/libgcc/config/arm/lib1funcs.S > > +++ b/libgcc/config/arm/lib1funcs.S > > @@ -1522,7 +1522,7 @@ LSYM(Lover12): > > add r7, r7, #2 > > #endif > > mov r2, #0 > > - swi 0 > > + svc 0 > > do_pop {r7} > > RET > > FUNC_END clear_cache
I've just noticed that this was never committed. Presumably that's because the patch did not apply cleanly. I've cleaned it up and pushed it now. R. On 30/09/2022 16:30, Seija Kijin via Gcc-patches wrote: > Yes, please! > > On Tue, Sep 6, 2022 at 10:48 AM Kyrylo Tkachov <Kyrylo.Tkachov@arm.com> wrote: >> >> Hi Seija, >> >>> -----Original Message----- >>> From: Gcc-patches <gcc-patches- >>> bounces+kyrylo.tkachov=arm.com@gcc.gnu.org> On Behalf Of Seija Kijin via >>> Gcc-patches >>> Sent: Thursday, August 11, 2022 2:36 PM >>> To: gcc-patches@gcc.gnu.org >>> Subject: [PATCH] arm: unified syntax for libgcc clear_cache >>> >>> The patch to convert all thumb1 code in libgcc to unified syntax >>> omitted changing all swi instructions to the current name: svc. >>> >>> This patch fixes this case. >> >> This is ok, thanks. >> Do you need someone to commit this for you? >> >> Kyrill >> >>> >>> --- >>> libgcc/config/arm/lib1funcs.S | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git a/libgcc/config/arm/lib1funcs.S b/libgcc/config/arm/lib1funcs.S >>> index 8c39c9f20a2b..19fa1462ccf3 100644 >>> --- a/libgcc/config/arm/lib1funcs.S >>> +++ b/libgcc/config/arm/lib1funcs.S >>> @@ -1522,7 +1522,7 @@ LSYM(Lover12): >>> add r7, r7, #2 >>> #endif >>> mov r2, #0 >>> - swi 0 >>> + svc 0 >>> do_pop {r7} >>> RET >>> FUNC_END clear_cache
diff --git a/libgcc/config/arm/lib1funcs.S b/libgcc/config/arm/lib1funcs.S index 8c39c9f20a2b..19fa1462ccf3 100644 --- a/libgcc/config/arm/lib1funcs.S +++ b/libgcc/config/arm/lib1funcs.S @@ -1522,7 +1522,7 @@ LSYM(Lover12): add r7, r7, #2 #endif mov r2, #0 - swi 0 + svc 0 do_pop {r7} RET FUNC_END clear_cache