From patchwork Thu Mar 9 20:05:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 661128 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp503840wrb; Thu, 9 Mar 2023 12:24:55 -0800 (PST) X-Google-Smtp-Source: AK7set9aB3Mug4AsBUQJTrk0bCS5TKPYwy2q8/LlKTghDzJOXY+saGjDiFO0lSXpsIz0YUDfNlFb X-Received: by 2002:a05:622a:411:b0:3bf:d372:a5a4 with SMTP id n17-20020a05622a041100b003bfd372a5a4mr4111178qtx.50.1678393494635; Thu, 09 Mar 2023 12:24:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678393494; cv=none; d=google.com; s=arc-20160816; b=Fh/14m3u37WMNkzgWObK71IJK4hJNLDf7hSwCYHk59q7FD9mPe7M3vdHs9oPw/pQaz sfpLTaRmzF+ap79RsPvlxcRyg6vP9L5gaJTL//lwXxKci/g2GKp4J+ZlDfs5lOuceT6e n5C873HfnexPMhnCPzfQ7kDkc+si7tMCKPHCUeALYiVzc4fqnK9sG15CT1vT1f56Vp4l 1Yn8i+dvLlb7QMGYukRBnue/56WofH8NviI3WQCUwcrk65I/Bd33jK83MjazeTct/Wgi Ko2m1jWxdQsldkigpX28YlKC78GrhI+We+bL+2m7U8mmJ/s5LLCC5g8kFangWH/sdizH 0ouQ== 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=S6ZC3hw06E0OtNkXZnnMKm93jFnanNTgLI9Wcvcgr6c=; b=emGe4BboG/PwwEILKdA3hFtV781qtsmgsb0IEjcotaaVemIM4ulezM6+ZCYG++8MqJ C3ZfSsu6ozk4Ccr6wu7mlNLoXMjJywTNlSULF9j67GbdtGi4Uf2UeaO/7mioXyLYl5pP qFEUOjPdkgcRKSLIWhDHQE1xyvgWPpF3kBmyFBTGzaLrzqfIxe8HOS+bnDUFbG/LqX12 z0/NcsBsgj6wqJ4G4Aecj+kYYA75jrUTzlRdlsEKLTx9KO+mOCZ926C2Ezqy//BW61cX +yOO7E2ltZ0teMObrACU876ltJxazX+Hc+DLCN/nBWwt60RpsHYHf+Jy73jQ/YekrYUH sucw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nqyM5Sbq; 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 u14-20020ac858ce000000b003ba137af908si15830824qta.372.2023.03.09.12.24.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Mar 2023 12:24:54 -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=nqyM5Sbq; 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 1paMay-00073u-1v; Thu, 09 Mar 2023 15:10:36 -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 1paMaS-0005aj-VD for qemu-devel@nongnu.org; Thu, 09 Mar 2023 15:10:08 -0500 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1paMaQ-0001XB-CH for qemu-devel@nongnu.org; Thu, 09 Mar 2023 15:10:03 -0500 Received: by mail-pj1-x1031.google.com with SMTP id q31-20020a17090a17a200b0023750b69614so2996217pja.5 for ; Thu, 09 Mar 2023 12:10:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678392601; 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=S6ZC3hw06E0OtNkXZnnMKm93jFnanNTgLI9Wcvcgr6c=; b=nqyM5Sbq3/C+6ggvUfCUmkg7cnvZzGtAYG0A2bZp31loXyvZUT/92zKCOt8x+/Tdli tCtmc+0MXP+gvMA/6mBGcx/ChJDlIULR6EC9YNDD1ngqsXZTbwxhGrl56rQ4oyWAkK9h +650sPaJRSZFq6Ll4q6ZJ2txxpSb+zLf7kdytqJ7jUc6qjgeJzqmglOYstJ7HGvpD5Yl Q5pFaUcSnenn2HqvJMFNWBn8FQwSJDCIM/8PgGHwWqbDNurKVPfVBL+MHvu1hg3cbFdk 9VGSjtnDcdXuEDT26FNTBhPE0q383RY7SEzeKKgb47wHO2GRoFlOeOWXDwlwpVfP57sz bOOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678392601; 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=S6ZC3hw06E0OtNkXZnnMKm93jFnanNTgLI9Wcvcgr6c=; b=MBiK94ehpm8pBDnFkg7Wt1Yb43NRkrqysONOf7vWdRlhDw1gWCLJTBjQ6KXZt8Ku7W yhrMHTPwpWB5PBTBfW/Nhwieb9cWEcgB1C9TZ3vB7UyylZktITs92S8sn9arZ5eSaqKI 8Q6xxVjJ6P3kGXhVIIRRT4mI76ScZ9WdziKoj0RNzWShL/i6s3Gz8Np28pxOtG8CiGLp cTo4+TIm4i5jQfSWsQJoOOtC5yK4OxcsD9ookmQ68+VprMVxHu23RDSy+5buQf8OXYEC VCPEh8ldHKPHwVHwnK9auOEC2AX0jwR2+uGBvxH1l6BfdtQVvhalsob7CRan5N37ll8a aQ/A== X-Gm-Message-State: AO0yUKWa4bVUbaRSikJ3ily4xESw9DWzjQe5JykQbhSRyk6gn8i/e2th uZ5cKf8Le5SoERFpjB8KL9WB97BvcUQud18WeQc= X-Received: by 2002:a17:902:c40b:b0:19e:8bfe:7d68 with SMTP id k11-20020a170902c40b00b0019e8bfe7d68mr30181954plk.11.1678392601589; Thu, 09 Mar 2023 12:10:01 -0800 (PST) Received: from stoup.. ([2602:ae:154a:9f01:bf7f:79a0:a976:bdaf]) by smtp.gmail.com with ESMTPSA id c2-20020a170902aa4200b001991e4e0bdcsm43797plr.233.2023.03.09.12.10.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 12:10:01 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PULL v2 79/91] target/m68k: Use tcg_constant_i32 in gen_ea_mode Date: Thu, 9 Mar 2023 12:05:38 -0800 Message-Id: <20230309200550.3878088-80-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230309200550.3878088-1-richard.henderson@linaro.org> References: <20230309200550.3878088-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1031; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1031.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=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 Return a constant for an immediate input. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- 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 44c3ac0bc3..422f4652f1 100644 --- a/target/m68k/translate.c +++ b/target/m68k/translate.c @@ -916,7 +916,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; }