From patchwork Tue May 2 16:08:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 678419 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a41:0:0:0:0:0 with SMTP id v1csp595404wrs; Tue, 2 May 2023 09:10:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7s8VK/uv0iqEuNB48lMUNKLf3v3BLM1ekWt7u8kCucS3yIaSZWBqsPx7xA2N1KbbgcT53l X-Received: by 2002:a05:6214:4002:b0:5ef:d3b6:5ce8 with SMTP id kd2-20020a056214400200b005efd3b65ce8mr5060415qvb.42.1683043806947; Tue, 02 May 2023 09:10:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683043806; cv=none; d=google.com; s=arc-20160816; b=rlnBS0wE2rNEeh5RVL1CDeBtaVAFl5TUNdafbwHGzbODPGoie7IPdgv5v1xv/jZ5/t wVwN8Qj6Q6Ra/AGgYgLcCYgVXZwL6cBz2SRxRNw4kns1C1dI8hyDkr0T2EqpxlrfplDU pe3LK3YwK+XQW5THMC3kTFzgl4ezZRJ6PshZP719rDPjtj1XB3ZtMT25Dl2X2g6aPpGV m9fl9kjgUFG6ZiVY9Ljmp2/kxrN5EIKJq0JTXKWHymDYVR6MZKNFYlNkhdDbGnDpIISR 1UIsfEJh6U+d+CqaLq0PNUsoV9MffrPoe/O4IpPJaB/sUFsxHSCxze9xhTVT7NGLqeV0 BA/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=yNUcAaiIsith4A3MmMU6YaHlVSgymDmwyA221woU1dE=; b=qPOMKd79DjQFnx3d65Afc9MHe2FQG/bGDPhf1HAAS3MbOZsF/4Yu8gwYXw5W+UahHc +A9eSrjEnbx8q7nJPjvoIN+z0cIJFcwwBXAUVAI6Xy8AOZl+QXsapdK84K826G9z6M87 D3oR187yA4osql0lKTelVBaCduWjIMZe1OeqsvCg09uxdg0lI1d4sK9+73CrNReYHf2Q SrnfHj9zaM6R8NGmnnkbZybtXb8SNraq3eyJmXhaAUnnZL3sBlb5dA7RlLEgc4HTEr3X bcNZeqO0KJVxG3CmTlJRHG+mr2CxfSewCPLQFSnL08rQsYNxss+SLIUY5xQkx3KtuyVx kVsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iDdmT96S; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id f18-20020ac859d2000000b003e4690a0c00si17927147qtf.271.2023.05.02.09.10.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 May 2023 09:10:06 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iDdmT96S; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptsYr-0002od-Gh; Tue, 02 May 2023 12:09:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptsYg-0002ln-A9 for qemu-devel@nongnu.org; Tue, 02 May 2023 12:08:59 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ptsYd-0000aX-64 for qemu-devel@nongnu.org; Tue, 02 May 2023 12:08:53 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-3f195b164c4so25384705e9.1 for ; Tue, 02 May 2023 09:08:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683043728; x=1685635728; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=yNUcAaiIsith4A3MmMU6YaHlVSgymDmwyA221woU1dE=; b=iDdmT96SWk3haDdxJlL0Ke1VnzrEoNl/eQtyRPXexjJ5r4cz/FXwRj7Cl3HbD5PSUk 50bDp8ADXN7EHMgEB6yVwP3xcrurE2aOoem8Fd6VDyAo9X298m9YLSG5Be2ceKa22shQ fkw38ITOcUxxgCHNnh0LVydUhk44/BqkXC1I/BmHSEHsToBCUqIOdVHiXWGHhyNkxDuy ZHsMq4v1z11PjmeOBo+OKyq3JF6CJMVGQXP+sRpL3Uoc9O/PQ0HfW9XwlBrT7oxt6Unt HWus2wZSxkLfdUdfOQMTrwx4w56C2v1TEh2NfMIyxGQqDiZNDyL+FUrdDE0rSbIBpQjm rkXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683043728; x=1685635728; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yNUcAaiIsith4A3MmMU6YaHlVSgymDmwyA221woU1dE=; b=e9gkYRiNlFChmfrlgeOn8MUJeSHeimX+Cp+Ob6RIFQnhU+UZOZeOzNSRYSKPikal2g 4KgW3u3bOY9w6EP/IVrlfvM3+vU4rDx3TZk1I/A+2/uKj4DDcZpth1gZauDFpkkDpI1G 1/i9zqH4lvNEbVa9Ph+J5m0DkG89G9twQ+OFnik2o058FkppgVqmHpybBF7NJThPTW/5 HRktCo0zGS/7lAwLQXApxo9JBXVrAb7zpliLzJJS8USMIXNdwmFVGFfd4F907qbSutb1 yIXcdCVuOwoLck5FRZPoP3M/HpxRQS//HYsJ6RPgASzYwYIENnJuVRKYGR0ZnlBc+Jji vKHQ== X-Gm-Message-State: AC+VfDx/27rYaSYzKF9PRnxLHUNkeec6gXHUDUUCa63UbtbS/81hvQNK NRTfgqnNtMdJdnvP+kPbBufg+zjXexOdb5h8EfFBww== X-Received: by 2002:a7b:c8cc:0:b0:3f1:98e1:c902 with SMTP id f12-20020a7bc8cc000000b003f198e1c902mr11865985wml.4.1683043728286; Tue, 02 May 2023 09:08:48 -0700 (PDT) Received: from stoup.Home ([2a02:c7c:74db:8d00:ad29:f02c:48a2:269c]) by smtp.gmail.com with ESMTPSA id v16-20020a05600c471000b003ede3f5c81fsm39918471wmo.41.2023.05.02.09.08.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 09:08:48 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: philmd@linaro.org, jiaxun.yang@flygoat.com, crwulff@gmail.com, marex@denx.de, ysato@users.sourceforge.jp, mark.cave-ayland@ilande.co.uk Subject: [PATCH 01/16] target/alpha: Use MO_ALIGN for system UNALIGN() Date: Tue, 2 May 2023 17:08:31 +0100 Message-Id: <20230502160846.1289975-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230502160846.1289975-1-richard.henderson@linaro.org> References: <20230502160846.1289975-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=richard.henderson@linaro.org; helo=mail-wm1-x32d.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Signed-off-by: Richard Henderson --- target/alpha/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/alpha/translate.c b/target/alpha/translate.c index 9d25e21164..ffbac1c114 100644 --- a/target/alpha/translate.c +++ b/target/alpha/translate.c @@ -72,7 +72,7 @@ struct DisasContext { #ifdef CONFIG_USER_ONLY #define UNALIGN(C) (C)->unalign #else -#define UNALIGN(C) 0 +#define UNALIGN(C) MO_ALIGN #endif /* Target-specific return values from translate_one, indicating the