From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2FA06C001B0 for ; Tue, 15 Aug 2023 20:35:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vj2oP/RzOurNSHvuegcTpoaMH24VQ7+OYffzfiXzRoU=; b=1J+PftYcA6V3M0 +lCVBDoZymlZtw7GSpzPsjBHRV1fCCfKsaKay6Ffgt1BgVlq6+MussWEeW64egiyIPKnLowUY/pjQ 77bAHg3JpAWDHC29N4KbXIDAb5fMFYYt5bMGO3FJIawC0m4XEdEZi6TG6iZY89QNQqJoJITdmIXka 9vqE+0euJcZIY+x9PPAPbBB9xEPD1Iv1RmXVEcV+fvz1a1TVdxpRTpgFfug/M+pIdLbb6uCeZoNRv DEHG1+VhjCHh9fi3rGUhtXV+Wws4OUAA79+eb5fToSriTt1gCz/2obUf4G4iGj4pMH3PgRhO2iZGP QS2hi2NPZytolk9I9M2w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qW0lH-002Qga-2U; Tue, 15 Aug 2023 20:35:31 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qW0lG-002Qfx-14 for linux-arm-kernel@bombadil.infradead.org; Tue, 15 Aug 2023 20:35:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=75R46oKMXGij9WjDuFRcdkMZQJztFv+MgWLiP5Z+wmA=; b=HXM125bORhCV4ax8Na19Xg+n8F qUDPfxv5z5BG59BiS5GrOzIBFT+rykYfaVfA0vxT6jJXyBIvAEbnIWzCNFBfcS9E7+lB8Tdhg2rtd NBvWegeQKrIsT2X8BAu40iqrHwZmSO7d+mqB3+Li5FXQSG+WXm8LdNGH8A5VY5THCscRKJwMAjzk4 KgDGfOKWSi9ifyo80vqNkjxtaOm2a/Vpk5flQr0kDDlj/F9j5Ex2ShRwN6O48a5ZMsA3CUAGT05Rp XDbLqyqOiMrQsPWTTbful4WTY0jlyj9V3GgBLvZroT6qSNOm8OktHApKP8h8LxJKVQxBb7ODIK4FU o3C18w5g==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1qW0lE-00AISb-0a; Tue, 15 Aug 2023 20:35:28 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 96028300222; Tue, 15 Aug 2023 22:35:27 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 52D992B57699C; Tue, 15 Aug 2023 22:35:27 +0200 (CEST) Date: Tue, 15 Aug 2023 22:35:27 +0200 From: Peter Zijlstra To: Mark Rutland Cc: James Clark , Anshuman Khandual , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, catalin.marinas@arm.com, Mark Brown , Rob Herring , Marc Zyngier , Suzuki Poulose , Ingo Molnar , Arnaldo Carvalho de Melo , linux-perf-users@vger.kernel.org Subject: Re: [PATCH V13 - RESEND 02/10] arm64/perf: Add BRBE registers and fields Message-ID: <20230815203527.GB971582@hirez.programming.kicks-ass.net> References: <20230711082455.215983-1-anshuman.khandual@arm.com> <20230711082455.215983-3-anshuman.khandual@arm.com> <20230728162011.GA22050@willie-the-truck> <89ce4bc4-00c5-a763-3179-e1d3e9f198b7@arm.com> <937468a1-b325-7d05-8daf-765f911c9240@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Aug 15, 2023 at 02:05:36PM +0100, Mark Rutland wrote: > From a quick dig, it's supposed to be like that: the GNU assembler uses a > different operator precedence to C, and clang's assembler does the same for > compatibility. What a great. GNU assembler doesn't even have a consistent true value for boolean expressions. The comparisons use -1/~0 as true value while the logical ops use 1. It's as if they purposefully want to mess you up :-( https://sourceware.org/binutils/docs-2.38/as.html#Infix-Ops _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel