From nobody Tue Nov 26 11:56:30 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1708551235; cv=none; d=zohomail.com; s=zohoarc; b=JAB3yFseij+wXFPf2jVk/x0oite7pTZ6dVftws0gd9cNh4FgTK7ue2TxlAJrBAzIJPby1v2M/GcWTstFCnzDFTuoYz2tzPNQBIRrR446Co4CtQzwPFLPKsfGJOVcJ1tC9YVtqTdqrSbOFgee7W0/7TuHRFp57txsW2BCp09yiC4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1708551235; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=9axBQwna36gH+4FogF2jceIZ7UQwZdXDxIAW/69WUJg=; b=QehyVsqBVAgHIYK8ImyU5aV+MTOSQ6RLg9IG1o4n++MZ3C0M1TAzBeAxoQZTlomXVj1PH4HyfUQuMsZvNCUnv8VtiOBQ11++LG/X4F4MshaDlokpoP4qZTjqQioEEX5OqUXwjFTJLkR1njyiBRRW1bToz1ylGIqz/uk0TR3H7iQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1708551235485794.3207232386477; Wed, 21 Feb 2024 13:33:55 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rcuCi-0005PN-IY; Wed, 21 Feb 2024 16:32: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 1rcuCJ-00058U-94 for qemu-devel@nongnu.org; Wed, 21 Feb 2024 16:32:14 -0500 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rcuCB-0004NT-2m for qemu-devel@nongnu.org; Wed, 21 Feb 2024 16:32:07 -0500 Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1dbb47852cdso10240525ad.1 for ; Wed, 21 Feb 2024 13:32:02 -0800 (PST) Received: from grind.dc1.ventanamicro.com ([177.94.15.159]) by smtp.gmail.com with ESMTPSA id a19-20020a170902ee9300b001dbb0348733sm6618051pld.67.2024.02.21.13.31.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 13:32:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1708551121; x=1709155921; 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=9axBQwna36gH+4FogF2jceIZ7UQwZdXDxIAW/69WUJg=; b=X1Df34epczGms53icve50I7yWylzF/awI7jClCufz5+yFVAvBCp3BoIDSUp2z2iTd/ KgDftUXGoev7sv5DrJryYrICz2z1sLg2hmJe1FVO9xJvAexVtYnCfgVvu/9skOaJg/Z6 f1V6qVWanPMcV2gdud0coDmr/CFfomt5FmDqM9dY+KyOwYY+iSKNgCrq0oLP41JZJCbf D4HqQdnWnuVA3myRK7NCwuM224Zu5Naq1cSGjU3iin/9TN1WTIPBBLccsY9/ZwYXxQ3E mNTutyf0X/Evaq70OKF4k8T7KJ5kJFYDvIIxStnNBcAxIKTU1m4M6AqNP8Tg1YBCKHuz jbTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708551121; x=1709155921; 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=9axBQwna36gH+4FogF2jceIZ7UQwZdXDxIAW/69WUJg=; b=rFwUrejCQWPeSccfOYK+TmADfNeuj6/KmibH/5orEeqcc23fr/DPLOwyQ4mfhB3rVI jPsAC6uTFmAMzdu6Wiky1ueoQDI9jAfkaZV7L7kb3vXNwywj3fw+y+LdA2G3petU8gMV vkMomidnuz7lN3/8EvKIBcVjIy41OH5xb9BZBat8c+QSuOLGsNGimlapxURZSo4eLyE8 6eTSI6WsnmI2Ih44fEijDyCkixtrD0fY0j2ovzczTb9mlSa4ZW4+FPSffF9OBC7WIgtZ 9GM4Y7qRtyKvokMIgK04paVYc+oUjr035bay5979dKN3tGaAQHHI2j/mH4WpUg36hG+K GQBg== X-Gm-Message-State: AOJu0YyLrg0B2vokRQ323igDjmucU9ol1BSAh1jr7vMrtneKqd73bnzh e/n+iA1h8CMpgeDUjkqM1OitT+btfP7vZxRtrCg1kWrkPEpO7YzbyJlGi2fn+sUubEHRgaNzGeI T X-Google-Smtp-Source: AGHT+IGnbbzm0CpOkMbdg763RNCvy7Ls+dGK9D0+3B/k2sHRRQDx1Xdo8JdpDVtEGOrFm1Wc3+zd2A== X-Received: by 2002:a17:902:f688:b0:1db:ff7b:d1fa with SMTP id l8-20020a170902f68800b001dbff7bd1famr10498434plg.47.1708551121134; Wed, 21 Feb 2024 13:32:01 -0800 (PST) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Cc: qemu-riscv@nongnu.org, alistair.francis@wdc.com, bmeng@tinylab.org, liwei1518@gmail.com, zhiwei_liu@linux.alibaba.com, palmer@rivosinc.com, richard.henderson@linaro.org, max.chou@sifive.com, Daniel Henrique Barboza Subject: [PATCH v6 4/9] target/riscv/translate.c: remove 'cpu_vstart' global Date: Wed, 21 Feb 2024 18:31:35 -0300 Message-ID: <20240221213140.365232-5-dbarboza@ventanamicro.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240221213140.365232-1-dbarboza@ventanamicro.com> References: <20240221213140.365232-1-dbarboza@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=dbarboza@ventanamicro.com; helo=mail-pl1-x634.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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @ventanamicro.com) X-ZM-MESSAGEID: 1708551236403100001 Content-Type: text/plain; charset="utf-8" The global is unused after recent changes. Signed-off-by: Daniel Henrique Barboza Reviewed-by: Richard Henderson Reviewed-by: Alistair Francis Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- target/riscv/translate.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/target/riscv/translate.c b/target/riscv/translate.c index 177418b2b9..f2f0593830 100644 --- a/target/riscv/translate.c +++ b/target/riscv/translate.c @@ -38,7 +38,7 @@ #undef HELPER_H =20 /* global register indices */ -static TCGv cpu_gpr[32], cpu_gprh[32], cpu_pc, cpu_vl, cpu_vstart; +static TCGv cpu_gpr[32], cpu_gprh[32], cpu_pc, cpu_vl; static TCGv_i64 cpu_fpr[32]; /* assume F and D extensions */ static TCGv load_res; static TCGv load_val; @@ -1321,8 +1321,6 @@ void riscv_translate_init(void) =20 cpu_pc =3D tcg_global_mem_new(tcg_env, offsetof(CPURISCVState, pc), "p= c"); cpu_vl =3D tcg_global_mem_new(tcg_env, offsetof(CPURISCVState, vl), "v= l"); - cpu_vstart =3D tcg_global_mem_new(tcg_env, offsetof(CPURISCVState, vst= art), - "vstart"); load_res =3D tcg_global_mem_new(tcg_env, offsetof(CPURISCVState, load_= res), "load_res"); load_val =3D tcg_global_mem_new(tcg_env, offsetof(CPURISCVState, load_= val), --=20 2.43.2