From patchwork Thu Nov 2 01:29:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 740365 Delivered-To: patch@linaro.org Received: by 2002:a5d:538f:0:b0:32d:baff:b0ca with SMTP id d15csp594797wrv; Wed, 1 Nov 2023 18:36:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGysQrG7IWz47GWjweMmibZriOj4vVa1b4xC3xgKOZeVAuFUDXMXt2q9uGw9tK5IsOErbie X-Received: by 2002:ac8:5ac1:0:b0:41e:3e05:ea00 with SMTP id d1-20020ac85ac1000000b0041e3e05ea00mr6337636qtd.4.1698888989213; Wed, 01 Nov 2023 18:36:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698888989; cv=none; d=google.com; s=arc-20160816; b=seifs62jFM2dtYcWknWQMRjGdhDRnkTQAiuj6jfh2okfSSAE9M0gLxuE22LfgAvr4Y fCMr6mO7fnZLdRsl4tbb0v0odZyzqSMroHLcCpN2G0c2XC5nosfLyrA4TxlEKRnjFaFw 1QaXenU2T/YoLRhHOiN8RVArnVIg1ngVq6knGcH+vRDULyykju87niGRTYv5pfsppvlZ 2osaNM4ADRjkv7RaIB3FmxBFKGOjPCH+VWR6hRSNKZuRMZ5MqeOILF1glmkFbQwBJ8xF ffaX5ipxXVkauifdrI05OOuNU4xGjBw8IFkApb4Cax66NXfHa8Ktm8yCtNfCsrP7Ag/y xHBw== 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=T0Z6Bkp8qogdaS1vlOBNIHkBVhVkIpu5yMkTET5B8HI=; fh=f2WZoDMBYjCKWIIOoPI+rQtxlv4fmOm4u+dLdQLqpOk=; b=y2xNAix144Hi/+25WIzp+AqNMbz58dVSmiY+v15btdggd1THTP0zvqMuSZ6T6bI4nW H5AqFb6x4VGcUrLwd+8qE1JCXBe2OoDZRBkZ6LmhGApRGYmR/NLBbmVm8y7+PJxWfmoE B6LQbNIoqqEAZeTIkArvBBtVx0A6LuvPmW+6fjLaUvUJyxtkqTd1hZBeEaFa1IY1KxdC 2Pk/FDCUiCMVWkDYaoImwoNIgkXEna4Vb+KhEKAvrFofh2W2dC9ZlWQJVTpqZ8/qhIJW HexWdpNl1qdPTpL8omXgaRdS/KE2yuOFtDBgol9tolNWrwUVy7FclB8V1IDNiZH8Z8NW cbxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EJTeurHa; 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 l9-20020a05622a174900b0041971a2b466si3503174qtk.715.2023.11.01.18.36.29 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 Nov 2023 18:36:29 -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=EJTeurHa; 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 1qyMcQ-0007nM-Vj; Wed, 01 Nov 2023 21:35:35 -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 1qyMb8-0006Y4-PU for qemu-devel@nongnu.org; Wed, 01 Nov 2023 21:34:15 -0400 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qyMb6-0001yw-Kb for qemu-devel@nongnu.org; Wed, 01 Nov 2023 21:34:14 -0400 Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1cc131e52f1so12963765ad.0 for ; Wed, 01 Nov 2023 18:34:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698888851; x=1699493651; darn=nongnu.org; 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=T0Z6Bkp8qogdaS1vlOBNIHkBVhVkIpu5yMkTET5B8HI=; b=EJTeurHaCiGQXtWI0+tpyuWbhYJOOVnyXxQItwbBL0YQT7Ol0t37/jG75UqN1Ss+kS JWN/XdXdY19MsbhJZny4SX8Do1NbXD2iBJhlRdC9EFmayhpcB0KuSKMJuMpdvnZsWvlA twTs10w7F3pzHt44n/Rkm6RBnWliUJES2odQ5tILEy417kkX/zqZc8GlWFMagCZrk0uc hBMMWRWGM829PNrQ+PNANzUuEdifspkRBlw1c6BjQq6mbxNiCwRX8BOg26GAl+H9XpOr xrOS/XVlIp86J4cgy0DaW2UF/lz4S+YKwPGcgVFBv0lpeGOTREi1tFxsYPiYJEU9ns31 b3iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698888851; x=1699493651; 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=T0Z6Bkp8qogdaS1vlOBNIHkBVhVkIpu5yMkTET5B8HI=; b=pFmDJmlY/i+h8npKJpkyiVr/rnpAeNA0A6SnEbPSVHe4/mz/hgvm4YDHBstO+bu85R mmq4bkoNeT+NMvh22s7nertDwLkkr+VVJr9sZHVedyqFwQP1Nw9fBpLM2L3jMGNetfg5 RqtcpJO0kAI//4R5+ZI8wdlhvTDkNX/iriyTfOt/XZG9KEQmMyDbbAhdCo9YBi1ZOlSo VhVW04jEbOCRPrFGKiOChDctfABdXKCrLULxaYOqTF9xQFT1LQanfSK/Ybws7MyAPOQV Nuc7MyfwRYZ9Ds3D7mf8kvIOLWreJ4zJQHyB2vXFeeJlRaVlOK4wLP/Je+yA5+h+3MSB Ew/w== X-Gm-Message-State: AOJu0YwX0rOedV8Xvr5abTQmP/omWOOGdPVOZ3rMq4vuAU6EgPeWZ4C5 MNqth2NrcKgngw/Uqk0l/GmO4eZGElC5Yc5Huh0= X-Received: by 2002:a17:903:41c2:b0:1cc:4a66:7db3 with SMTP id u2-20020a17090341c200b001cc4a667db3mr6641279ple.4.1698888851059; Wed, 01 Nov 2023 18:34:11 -0700 (PDT) Received: from stoup.. ([71.212.149.95]) by smtp.gmail.com with ESMTPSA id t2-20020a1709027fc200b001a98f844e60sm1918125plb.263.2023.11.01.18.34.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 18:34:10 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: deller@gmx.de Subject: [PATCH v3 62/88] target/hppa: Replace tcg_gen_*_tl with tcg_gen_*_i64 Date: Wed, 1 Nov 2023 18:29:50 -0700 Message-Id: <20231102013016.369010-63-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231102013016.369010-1-richard.henderson@linaro.org> References: <20231102013016.369010-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x632.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/hppa/translate.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target/hppa/translate.c b/target/hppa/translate.c index 59d172f355..f570b17ecd 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -1338,10 +1338,10 @@ static void form_gva(DisasContext *ctx, TCGv_i64 *pgva, TCGv_i64 *pofs, *pofs = ofs; *pgva = addr = tcg_temp_new_i64(); - tcg_gen_andi_tl(addr, modify <= 0 ? ofs : base, gva_offset_mask(ctx)); + tcg_gen_andi_i64(addr, modify <= 0 ? ofs : base, gva_offset_mask(ctx)); #ifndef CONFIG_USER_ONLY if (!is_phys) { - tcg_gen_or_tl(addr, addr, space_select(ctx, sp, base)); + tcg_gen_or_i64(addr, addr, space_select(ctx, sp, base)); } #endif } @@ -2382,7 +2382,7 @@ static bool trans_ixtlbxf(DisasContext *ctx, arg_ixtlbxf *a) a->data ? offsetof(CPUHPPAState, cr[CR_IOR]) : offsetof(CPUHPPAState, cr[CR_IIAOQ])); tcg_gen_shli_i64(stl, stl, 32); - tcg_gen_or_tl(addr, atl, stl); + tcg_gen_or_i64(addr, atl, stl); reg = load_gpr(ctx, a->r); if (a->addr) { @@ -2939,7 +2939,7 @@ static bool trans_ldo(DisasContext *ctx, arg_ldo *a) TCGv_i64 tcg_rt = dest_gpr(ctx, a->t); /* Special case rb == 0, for the LDI pseudo-op. - The COPY pseudo-op is handled for free within tcg_gen_addi_tl. */ + The COPY pseudo-op is handled for free within tcg_gen_addi_i64. */ if (a->b == 0) { tcg_gen_movi_i64(tcg_rt, a->i); } else {