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 X-Spam-Level: X-Spam-Status: No, score=-5.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0439CC433DB for ; Tue, 23 Feb 2021 16:32:47 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8FA0564E3F for ; Tue, 23 Feb 2021 16:32:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8FA0564E3F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:57828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEac9-0006Gv-LM for qemu-devel@archiver.kernel.org; Tue, 23 Feb 2021 11:32:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEaZs-0004mn-Le for qemu-devel@nongnu.org; Tue, 23 Feb 2021 11:30:25 -0500 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]:45100) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEaZp-0006ww-EM for qemu-devel@nongnu.org; Tue, 23 Feb 2021 11:30:24 -0500 Received: by mail-pf1-x42b.google.com with SMTP id j12so9089723pfj.12 for ; Tue, 23 Feb 2021 08:30:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=UdTRO6OBBERyLLYygQpp3UjR5pAJPNGPSoawy8meqIQ=; b=nlpNGnXgYbl6kxLlSn6598kG3xK53LHNtHJQ2RB1lkwHPFmU4pVxiD+xTopFZaABpg ZQ2qZS65VjUVwjsJ2HRHZBsBCEbBn0ge4iq4opYkOBvHPsJFk79R+9EIsqIFfy0h6Gc3 xV0sj5j9CNKsajqjiXQau8FipeYE+7lEIYLRXqWRfcDsGO8JBUaGsYylZ7az/XzUzkxw q04oRl2mxY/6Tb2v2RY7iacCaGNesJP+DSNXGjifyZWdn9H71spAdb/2q0QJdcdYDBf5 F9iXhepljklvpmVBXPF9DR1YDwQzUeRjiDWS1dxc16MB68cDEBoshR7yXy5p+MUy9FiF HP5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=UdTRO6OBBERyLLYygQpp3UjR5pAJPNGPSoawy8meqIQ=; b=WCjCwOx8YFkn8B2qTTX7oB38vXiprpHLpbh1U+uY0HdH13UOvk8U2m659j+b8hz8+p nSq1FhLFQr+7xzotHDU+EGx+Yrr4YJ8l89Wl3wEsZRrnmpLJZLsHdnA/nSIO6EB8od8P +QD6DiVMgZbPlfsX/laW7mhhcYqgZGE/LJ0enEt/kVB5fgVjlV8QmibB8m43xHrx+vmT nKYxaHZlq5JVmKQlMpcy3aNWLHQRjkUJpLre56479ik036hSJfcJ45q42z8r9JrR4A4r 3DmhLnRq4NBOtp7V7hxtOma0aaI+Iw7A4+Z8AKDY8ukT2vOr8xIsSd1Hhw+MifdWLBjs LjFA== X-Gm-Message-State: AOAM5309kgMtfAqQ77fgffA1xIm9mrZsqR90WOrtYixsgvQbFmDP+GOU Q6WtsP3s/9BlLxpOqeRZHNjXvQ== X-Google-Smtp-Source: ABdhPJzgWDhP6tFEvjFkCN2oQSI02afkfiYgBigtIMQDf7D0wA0xxDQV4noJZtzWNBRbcaxQM7FhNg== X-Received: by 2002:a05:6a00:1385:b029:1be:ac19:3a9d with SMTP id t5-20020a056a001385b02901beac193a9dmr2923883pfg.65.1614097817775; Tue, 23 Feb 2021 08:30:17 -0800 (PST) Received: from [192.168.1.11] (174-21-84-25.tukw.qwest.net. [174.21.84.25]) by smtp.gmail.com with ESMTPSA id y123sm16995379pfb.122.2021.02.23.08.30.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Feb 2021 08:30:17 -0800 (PST) Subject: Re: [RFC v1 24/38] target/arm: move aa64_va_parameter_tbi,tbid,tcma and arm_rebuild_hflags To: Claudio Fontana References: <20210221092449.7545-1-cfontana@suse.de> <20210221092449.7545-25-cfontana@suse.de> From: Richard Henderson Message-ID: <47f7efff-a2c8-18a7-ab88-8a6b86ff7ef1@linaro.org> Date: Tue, 23 Feb 2021 08:30:15 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alex Bennee , Paolo Bonzini , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , qemu-devel Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 2/23/21 2:07 AM, Claudio Fontana wrote: > is the code elimination for "if (0)" a guarantee, ie, we won't encounter > compiler or compiler-options differences, for the compilers we support? Yes, it's a guarantee. > Is there some way to force the compilers to not even look at what is in the > if (0) block? No, it must be syntactically correct, and it must not reference variables that have not been declared. But that's a feature -- making sure that nothing has syntax errors in is a major improvement over ifdefs. > That should work also with --enable-debug? Yes. > This way we could avoid a lot of boilerplate/stubs... Eh, maybe, maybe not. Stubs may still be required, depending on how complex the condition is -- more than if (0). r~