Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4250323pxb; Tue, 10 Nov 2020 11:28:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJyZbMDWDYTv4u6wBcOnPEY1Gg3gIKuEVSPj/zo0dHnnG7LAfESPRhiwZHZAupugv97KGrj8 X-Received: by 2002:a50:dac9:: with SMTP id s9mr961150edj.75.1605036532509; Tue, 10 Nov 2020 11:28:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605036532; cv=none; d=google.com; s=arc-20160816; b=Y15b3SCHMB5iinxjb3eJS2PEfJ2rIc8Q9ao90Ua/dHjHxGMpM2tPPDZHUUN8kPZykq 6icjS7vF0V5oAkveWxKxOUB6Ys9eFay8XYRWRu2VdEDvjE6px/64wHJe+ULGWh2oe45I nH4C3YE7o9k6bBmeymSCaVSqGYa+ipn+LKwQBaB9YKH0ufVFPbkkMuTflLVE+py0oCsy w/szk3glfQUO3sKTieN1GFzJ11uSLyQhnbll4DE7hjvYtl9SFhDqxryJjjHVjM/lDl1a RUfsMOL1awO8pbY+i+VV5ByjeW8uKZwa6y32eSlGKeBYnw81q+Gm3UokWmfVGRjvjHPN Vf1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=QBBuJtpHwASeAFOGSL1xcof2983thgwJRPuFxxMD4fA=; b=I7waEqQXWELStUVTyk6hMYQngdPt/SV5pLDYxK90CoHC4pBWmTzK2RdBCOvWXk4og7 HUxg+jecNbmAEH+R6SxdlUeqDy+YffNYMn/gMQlxJqZA5onghrB7b908JyNl08uTGmH7 fiNccdW2lxPAA9vN/6onXOnlZQwBJzxEriLHyFfLXV/unSIZgrNqLsbaQ7+3e8bfhFAR CX9OvWjRUqS8MRBaz3JkNH9/VEjId28JU9D2jUJwCX3nBJFgJn4smjeU7zhm4ApK0r0I 1Tpft+VM83FYzL8o/IaFkLENp16u0Iz1qpIJXoloHOWFUOZ0FXmUm5xuKnhBMO0LrlN1 rdMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=DUzhdqYm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d1si9765381ejj.113.2020.11.10.11.28.29; Tue, 10 Nov 2020 11:28:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=DUzhdqYm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731677AbgKJT0q (ORCPT + 99 others); Tue, 10 Nov 2020 14:26:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726307AbgKJT0o (ORCPT ); Tue, 10 Nov 2020 14:26:44 -0500 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B7C6C0613D1 for ; Tue, 10 Nov 2020 11:26:44 -0800 (PST) Received: by mail-pg1-x544.google.com with SMTP id f27so7707875pgl.1 for ; Tue, 10 Nov 2020 11:26:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QBBuJtpHwASeAFOGSL1xcof2983thgwJRPuFxxMD4fA=; b=DUzhdqYm3KhlGOfDDfdWNAq31h0cV3GKAi2xP1cxlXyasR45DGVVyNY2ikd+sFOnCC UcEgk8PNi1GfqnrvPyftyBhyoH7fLVePjOhpZYvTwcLJe3JL/E7cTGQ3g5Co86AC9THK ZkK2t2FpZu06cOSY4mos4n//bjGjcZgA+g4NYcgmyfjFBNc2KuU6KyoRJR7wkssKFIs/ boHgRBDBOgK7E8ypVPTdtEO1pXmN9XdlPc60xonKmfSZv1AQuPla8R4Vj+iPFOtpFHJw GYzX12WEReynbv168ZYu9knYhNEI/iZxZdm07x6I2Kmi3QjAX9mYOGgHC7iI+P/dZtCS nfvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QBBuJtpHwASeAFOGSL1xcof2983thgwJRPuFxxMD4fA=; b=VthemGAphPUgF6e66GtRyfq+D822zN3dBBF0qQHyccCYASiUpDvyhVbMsUUN5OFmHc lHOpifvDSH7KHoxIxrKWFxInWncmAS5XmiakzT6SZBi/5VBoh/ZBbx4I5NOdwtLgbub/ NMnE96mbEkjTW/Yo/W+odcA9/JgLLOcu5XNBcUxmS02W8PUNrAv7Iw1pRxahN9fUkjUa UsCYurqiJZ4c68visZRrj3bjsySZ4Eg3DAmYIOb9gUWkc7MX44SuyRo0EiqgAgCA6VtM 5VJtW6+sXCW6emddHW6Zn/1oEd/fjK/1Zi0twMD+sW/VW78gr1ua9a0xH1TznIH/b+F/ nxhg== X-Gm-Message-State: AOAM5319oRoRym6fQvWcXZYIBz1xUjhsEcsQ2vtbTD2a2JHvzamC+YK6 V3a7j/C2VSaSZG/aYJDqNIW8/xeIqfO3BTzS5q6NIQ== X-Received: by 2002:a17:90a:6b04:: with SMTP id v4mr671795pjj.101.1605036404049; Tue, 10 Nov 2020 11:26:44 -0800 (PST) MIME-Version: 1.0 References: <20200409232728.231527-1-caij2003@gmail.com> <20201107001056.225807-1-jiancai@google.com> In-Reply-To: From: Nick Desaulniers Date: Tue, 10 Nov 2020 11:26:32 -0800 Message-ID: Subject: Re: [PATCH v2] Make iwmmxt.S support Clang's integrated assembler To: Ard Biesheuvel Cc: Jian Cai , Manoj Gupta , Luis Lozano , clang-built-linux , Russell King , Nathan Chancellor , Linux ARM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 9, 2020 at 11:36 PM Ard Biesheuvel wrote: > > BE32 != BE8 Oh? Sorry, what does BE8 stand for? arch/arm/mm/Kconfig says: CONFIG_CPU_ENDIAN_BE8 Support for the BE-8 (big-endian) mode on ARMv6 and ARMv7 processors. vs: CPU_ENDIAN_BE32 Support for the BE-32 (big-endian) mode on pre-ARMv6 processors. So BE8 seems newer? It looks like in my tests, enabling CPU_BIG_ENDIAN via menuconfig enabled CPU_ENDIAN_BE8. > > Please use, e.g., ixp4xx_defconfig with IWMMXT and BE enabled. It > seems like .inst does the right thing here, i.e., the assembler knows > that it should emit BE for BE32 and LE for BE8, but it needs to be > confirmed. Ah and ixp4xx_defconfig selects CPU_ENDIAN_BE32. Yep, and the disassemblies of those match, too. -- Thanks, ~Nick Desaulniers