Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp955229pxb; Fri, 15 Apr 2022 16:31:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4ljbV/9IvYVhDhwtBvk6C24W0lNZYTMUuIZ7rSbOI3/NmF1sA0O6YJ5r6Kyi1fiDo0DzS X-Received: by 2002:aa7:d394:0:b0:41d:799e:e5ed with SMTP id x20-20020aa7d394000000b0041d799ee5edmr1383829edq.347.1650065485682; Fri, 15 Apr 2022 16:31:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650065485; cv=none; d=google.com; s=arc-20160816; b=W4mgVfiLVQ473OzgFAMzGx/PZSVr4YiD2bjp23sfQ41TbuqS8gMdVtpx7qU/Sev06O D1hh8wqMQGsO7XNi9DmZz5Rksug3X2RpQLDWDeVBUjO6WJweSjHfniK5y+udyrfsJ64H L+UWvsJhJuuLrZkA3kBmkcVFhJNBguNSY7T5RrxLMYW0gBJr7vMd+uhO7wKevqKkFmxp 3WFe8EYz2VppkmSUOS5OZSvKrChEzcodKdJ6CTqvLo/d61qTm+Rq6iv3GVltdmx2z54r 30xhnk2QnYilVA5x8JAwr795cR8Ac5vm5qYhuctJLvefNjhO1gvblr0zQzI64TdI925J 16nA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=UM9NtFS2C2cjktUEm9aNoAq0M5aZEQyz1ml6+NlYQKY=; b=qCX7oam92gQ+BzqnW1CAxYu2s7H0Z8LDQpLRS7r/GEEjOH+ULsPrweFzcBplJroIMl 9Dax/m/sTU2MZPMMunU92wGgUb9plNzjKiLzjVddQcozaICaaoPxgrrMzweMH1fmupob DutVf4E484iPT7QYcY2KY7EFxvrduLMlfM43Ai6hSRwrI9WcD2FoLykNgqgNDoDWM4qK 4zVFNk1Xvbd4vfn25TS0NLD4pGDGrWtSlCSM2ZNKHIFWRmM5RdM3EpmDsGSmT+sl07Bo hTtYWCw9b9VR3cKIajeyorKJzrU5CGwL3ZOqRRdjteC26HEirjWFVFcnEE6oS17AV7hV o9qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=bxQ7mfJ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u11-20020a05640207cb00b0041d75705a25si1859878edy.232.2022.04.15.16.30.59; Fri, 15 Apr 2022 16:31:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=bxQ7mfJ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239318AbiDMXYt (ORCPT + 99 others); Wed, 13 Apr 2022 19:24:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239303AbiDMXYe (ORCPT ); Wed, 13 Apr 2022 19:24:34 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CDF85EDE6 for ; Wed, 13 Apr 2022 16:21:57 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id l127so1580625pfl.6 for ; Wed, 13 Apr 2022 16:21:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UM9NtFS2C2cjktUEm9aNoAq0M5aZEQyz1ml6+NlYQKY=; b=bxQ7mfJ64M61VNHKr5eU+RnJ0hXl2IfEGPvH8gf4KyvXd46WJYpDShYsvoPZMHZ36j yIlQ23iL8hlK5cnBXgrEDWSZuHluDlIvNRZEsjjHJ2ZO1rKHSz0P6/dT0Q0peDZlU/Tj d44pmAVX3yzgZrmMYNX0uYYuH3RLC/F7t3Jqy1VhjQWZT9hfkFzNO5VEL5nz871cBMy6 IMWwRkPKAJ3ODVPYbeFER3079hJLHH04ZEJFhZTpwX2fIDqFoa9v/D34ITh1E/awXKUm KJJ0iF84bylRjSVysU4wbSuUNL0fkG5UmLh1jWCDygLjgixwWtxJnQSF+8iQIjr5ARJ9 WhGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UM9NtFS2C2cjktUEm9aNoAq0M5aZEQyz1ml6+NlYQKY=; b=WDZ6mTKmWb3K4RrYwntSt8bacQn+TiiU1qEQPs0Wt3BGVr4f98tMa/IsXXJBhyZN9G XiZVA+PJUKyjmj7BWHiDqL8aUu37iwIolsIn2bXD+hU1Cx2rxNf5xQBI38B381oPxqPp sV9Qnpt7js02PwqkAWFvCB6Zrr6X+gxDi7BKti8XVPNrhAvaS6hk47cOE3CAJhgsQRhV nIWGFNTB0majtDc1rfYwqDzL6plClntiQ1VR7WWOoIHvxHI3pWVpapiWmVjg0fClySjH AaPIV0F/iJGOGviac7sDwBJ2kquUhJHTYVLDbgrxspUWryr9pVwPOE1TxH8XxYQ1t4KJ HN9Q== X-Gm-Message-State: AOAM533MtcCe4cWdI487+ab9x0lTPzeOecxvrAjSqJkUae3vTp4EUTxK uTh2pWLzV9OeP6tEEFYRNJrMk+PSOt4= X-Received: by 2002:a05:6a00:228b:b0:4fa:e12b:2c7b with SMTP id f11-20020a056a00228b00b004fae12b2c7bmr11919291pfe.79.1649892116558; Wed, 13 Apr 2022 16:21:56 -0700 (PDT) Received: from octofox.hsd1.ca.comcast.net ([2601:641:400:e00:389b:6ba3:7cbd:d8d]) by smtp.gmail.com with ESMTPSA id b2-20020a6541c2000000b0039d1280084asm171811pgq.26.2022.04.13.16.21.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Apr 2022 16:21:55 -0700 (PDT) From: Max Filippov To: linux-xtensa@linux-xtensa.org Cc: Chris Zankel , linux-kernel@vger.kernel.org, Max Filippov Subject: [PATCH] xtensa: localize labels used in memmove Date: Wed, 13 Apr 2022 16:21:42 -0700 Message-Id: <20220413232142.1210744-1-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Internal labels in the memmove implementation don't need to be visible, localize them by prefixing their names with '.L'. Signed-off-by: Max Filippov --- arch/xtensa/lib/memcopy.S | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/xtensa/lib/memcopy.S b/arch/xtensa/lib/memcopy.S index 582d817979ed..b20d206bcb71 100644 --- a/arch/xtensa/lib/memcopy.S +++ b/arch/xtensa/lib/memcopy.S @@ -402,13 +402,13 @@ WEAK(memmove) */ # copy 16 bytes per iteration for word-aligned dst and word-aligned src #if XCHAL_HAVE_LOOPS - loopnez a7, .backLoop1done + loopnez a7, .LbackLoop1done #else /* !XCHAL_HAVE_LOOPS */ - beqz a7, .backLoop1done + beqz a7, .LbackLoop1done slli a8, a7, 4 sub a8, a3, a8 # a8 = start of first 16B source chunk #endif /* !XCHAL_HAVE_LOOPS */ -.backLoop1: +.LbackLoop1: addi a3, a3, -16 l32i a7, a3, 12 l32i a6, a3, 8 @@ -420,9 +420,9 @@ WEAK(memmove) s32i a7, a5, 4 s32i a6, a5, 0 #if !XCHAL_HAVE_LOOPS - bne a3, a8, .backLoop1 # continue loop if a3:src != a8:src_start + bne a3, a8, .LbackLoop1 # continue loop if a3:src != a8:src_start #endif /* !XCHAL_HAVE_LOOPS */ -.backLoop1done: +.LbackLoop1done: bbci.l a4, 3, .Lback2 # copy 8 bytes addi a3, a3, -8 @@ -479,13 +479,13 @@ WEAK(memmove) #endif l32i a6, a3, 0 # load first word #if XCHAL_HAVE_LOOPS - loopnez a7, .backLoop2done + loopnez a7, .LbackLoop2done #else /* !XCHAL_HAVE_LOOPS */ - beqz a7, .backLoop2done + beqz a7, .LbackLoop2done slli a10, a7, 4 sub a10, a3, a10 # a10 = start of first 16B source chunk #endif /* !XCHAL_HAVE_LOOPS */ -.backLoop2: +.LbackLoop2: addi a3, a3, -16 l32i a7, a3, 12 l32i a8, a3, 8 @@ -501,9 +501,9 @@ WEAK(memmove) __src_b a9, a6, a9 s32i a9, a5, 0 #if !XCHAL_HAVE_LOOPS - bne a3, a10, .backLoop2 # continue loop if a3:src != a10:src_start + bne a3, a10, .LbackLoop2 # continue loop if a3:src != a10:src_start #endif /* !XCHAL_HAVE_LOOPS */ -.backLoop2done: +.LbackLoop2done: bbci.l a4, 3, .Lback12 # copy 8 bytes addi a3, a3, -8 -- 2.30.2