From patchwork Mon Feb 27 05:41:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 656850 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp2184593wrb; Sun, 26 Feb 2023 21:50:31 -0800 (PST) X-Google-Smtp-Source: AK7set9xkXnupvEvRdxvP1WuXaift8XlbcyM19Gh9j1K+a9SDfTNXiEsHsr1Eps/rkkCuSdLYV3x X-Received: by 2002:a05:6214:1947:b0:56e:c09e:7d6b with SMTP id q7-20020a056214194700b0056ec09e7d6bmr51210806qvk.43.1677477031752; Sun, 26 Feb 2023 21:50:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677477031; cv=none; d=google.com; s=arc-20160816; b=dHYHa8bgq2A1koYGh7ad5rRJtI+lcHokJHy/MFnWYQx7+52NU7KxQmHRSi2bqvOcD4 LEmOnGDMiGD0K6LGjz6VAyLlqL/snVRUwWHLBikwy4G1xPVHGjj5vHk0r4A75hM145Qk t2poLYg+z30E6TlUtJqpdhuIqNM56BkM/ZUrgH0ChjuoTeH2fXl3tb2JqsMJ22UdcQcw 92gGUAbG5VRd6koM1jR9s9JQ9yFFhDsgUFlnTg/q0AX4W43Hy8VV7+Zojy3jLyvo+sll Dw1jJXMQnyDDiAEj4hJdraa3t/MDANBSKUjIiWhzoc5HohT30aRsiXi5IwRnJYchdJnG a3AQ== 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=RCxesrIpTbTxRzaqZYaMu9uuGA6eHqItNDhI0BRycuU=; b=RCdQPImgr0gtNzKkS6on1Hjp26ZZwTv29FmJmDhhvdwpz0vGzg+REXsQqFwP/2Dxw8 BcWzocvHCIY6RzIRX8FdCSI6VBgxxHzVs5mLhs8JsHiKylpTIqH1pAcfXmkA/WuyNiPj H1QMSfEMxoS+uaBS6NmfDbwQcgDrHWICBpMrMxWGTiNkPUPn5NyHX7UlHmIc3/eMI8zm s+BBO3nlasM/YjPk9lg8X4L6+VWoZKXDi3sIQ+eQDOMFSWr5BxC+57rv+uEFcInh54d7 CaTGm5YY2A49AdkgC3ISJ51aFWwOb86vLepNPou6WgrHcVV4UttYPsV0jezbo393zH9e jSpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=l+cUrSbu; 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 l6-20020a05620a28c600b007423359f0c3si6204718qkp.306.2023.02.26.21.50.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 26 Feb 2023 21:50:31 -0800 (PST) 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=l+cUrSbu; 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 1pWWJA-0006J7-BQ; Mon, 27 Feb 2023 00:44:20 -0500 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 1pWWIm-0005Nl-0R for qemu-devel@nongnu.org; Mon, 27 Feb 2023 00:43:56 -0500 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWWIh-0005Ai-Th for qemu-devel@nongnu.org; Mon, 27 Feb 2023 00:43:55 -0500 Received: by mail-pf1-x42f.google.com with SMTP id c10so2155752pfv.13 for ; Sun, 26 Feb 2023 21:43:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=RCxesrIpTbTxRzaqZYaMu9uuGA6eHqItNDhI0BRycuU=; b=l+cUrSbutYZtb1yNDz9VpYy+7RnrJuM779Qjay6GlDr4fZ1CmFmafG/8/twcwjxgQ5 pPc3dgCBdBKqGj5JiD1fTt7FOdcr7S2PPEAt3AC2wxv2SCMNU1iIpe6QQ9fi44Sww/ZD J4l5QpO4BFCEdO5aXCbeCvIsFSvZ+uA0MT1wkSutLw9qkkBKH2eO8cgfo/Sm101iYJZ9 CQuvC/6/+sz5GYzmgqikvLP451k9fXCbYBLoeUWJIdAW9U6Cx3AQwn99Hz/Fwr/STElX n3VlQmBBGlPPFl7SdnJwuCxG7Bb8oP0ePJCQL+ityr3u5T/lMD7FOZ565hKDgXp17pdu R1Dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=RCxesrIpTbTxRzaqZYaMu9uuGA6eHqItNDhI0BRycuU=; b=OAcac11YXEFHUFH/OkCsS+EzN6xPOkyeQn3wU1/gC8lRWRxo8FKLGRw7V+UpMatvxk 9WqBV+etysSETny/GrWCFwWogqP5EU6/nOBc5f82+nNWYnQyy7VBdALNGKL/Ihize3ug /1H7dtCEZAcKFNUVo/XHZ8X7cu7tyxpBZEqqaSWks0PtSB4IxcUFV3DmGX8sUzCsQAPd +Km3UgDLN3X6FvUuoWV8l7OzfD0aw7xauPlZANefJnrfELkkXTc2WUtHvrrmYeI37M0g udNDg7VkuIu9LB0f1h598gCqJkf7thjVuW/hH8Vw92cbLz7hjmS99Qs189JS7qMQYszY xFUQ== X-Gm-Message-State: AO0yUKVkT2jA9u4RM/NbsWPRdCKy5meuQwUlusVdnylevHM4/dQyaGdh qOFZqabgLiRJGgG3scKGSBqOSyR00pmGWtSukt4= X-Received: by 2002:a05:6a00:47:b0:5cd:d766:8a2b with SMTP id i7-20020a056a00004700b005cdd7668a2bmr18700523pfk.6.1677476630933; Sun, 26 Feb 2023 21:43:50 -0800 (PST) Received: from stoup.. (rrcs-173-198-77-218.west.biz.rr.com. [173.198.77.218]) by smtp.gmail.com with ESMTPSA id d10-20020aa7868a000000b005cdc64a287dsm3317137pfo.115.2023.02.26.21.43.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Feb 2023 21:43:50 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-ppc@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, jcmvbkbc@gmail.com, kbastian@mail.uni-paderborn.de, ysato@users.sourceforge.jp, gaosong@loongson.cn, jiaxun.yang@flygoat.com, tsimpson@quicinc.com, ale@rev.ng, mrolnik@gmail.com, edgar.iglesias@gmail.com Subject: [PATCH 25/70] target/m68k: Use tcg_constant_i32 in gen_ea_mode Date: Sun, 26 Feb 2023 19:41:48 -1000 Message-Id: <20230227054233.390271-26-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230227054233.390271-1-richard.henderson@linaro.org> References: <20230227054233.390271-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42f; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42f.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 autolearn=unavailable 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 Return a constant for an immediate input. Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé --- target/m68k/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/m68k/translate.c b/target/m68k/translate.c index 7a87811427..7435e51acc 100644 --- a/target/m68k/translate.c +++ b/target/m68k/translate.c @@ -924,7 +924,7 @@ static TCGv gen_ea_mode(CPUM68KState *env, DisasContext *s, int mode, int reg0, default: g_assert_not_reached(); } - return tcg_const_i32(offset); + return tcg_constant_i32(offset); default: return NULL_QREG; }