From nobody Tue Feb 10 00:59:43 2026 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; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1599246732; cv=none; d=zohomail.com; s=zohoarc; b=lUJuSFmjJ/pZotdtKOwiWfYlVoxQkAvAzOrXdAC4wl9z7rBZnFlQpgEg/s1M7P7o299EEZdyhsOfnuaZMaIZFDxVr6rCq+vpjxH1jznWpEbDaev8oIEvuSc+kntY+i1DqPs1SKwOqgyFpQ3MKTaRHweUgB2iSiaRlNVXxbp2a9Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1599246732; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=5SlIcFIM68w880BR4Kxx0NdCPJqMQrugFoEKlxU3Dhc=; b=STTYc4wUCX1/V6LIC09usW5AqW+RwcEEBjEwqVV7Gm3E/Y5QdFqYo5Rj7zulaVI5ubj9yXvzuwYXpozWoNH5ZBaUGz5EkMqj2o7gIT/sn/Zva95J6/6LPTL1dqvMZ2IQY1HVgkAKpqT7mOGODygrLUGJ8p+ypUbZU2KQhqQ+bOs= 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; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1599246732149212.13467959084414; Fri, 4 Sep 2020 12:12:12 -0700 (PDT) Received: from localhost ([::1]:46652 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEH86-0006NZ-Sv for importer@patchew.org; Fri, 04 Sep 2020 15:12:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEH4x-0001NG-8C for qemu-devel@nongnu.org; Fri, 04 Sep 2020 15:08:55 -0400 Received: from mail-pj1-x1042.google.com ([2607:f8b0:4864:20::1042]:51321) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEH4v-0000mj-9c for qemu-devel@nongnu.org; Fri, 04 Sep 2020 15:08:54 -0400 Received: by mail-pj1-x1042.google.com with SMTP id a9so441458pjg.1 for ; Fri, 04 Sep 2020 12:08:52 -0700 (PDT) Received: from localhost.localdomain ([71.212.141.89]) by smtp.gmail.com with ESMTPSA id x19sm1897941pge.22.2020.09.04.12.08.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Sep 2020 12:08:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5SlIcFIM68w880BR4Kxx0NdCPJqMQrugFoEKlxU3Dhc=; b=MUMgmfA+iyd6f//Vc2BgwIG3PH1+AZNFq+CaVDARKsA1/yCsEkd225zC4aL6b6x2FC Ntu24GOaKvW/ITQBqLQZLesDKUvwFCNIv+bdEF6GlwAp0ikieMe9WiDsSGSDsAkDXhNS yPoJ/0cZ58n8THQv4VsBjVDkcTMnRfEPnc64CbJwE5fdQuVYC2c6GZ+RNPjQGvQXxWgp 8QgYZ2XkdoopCmtUi00TZJI8OSnooqyqlkrfwlBL2pJfvIAPum9Fz9i5M09nwYmx4KqN UfQCAOPUcV/TFyQHzBztJXoLHsKVwC7EQZICtNF9qP8VS5J8fj6KzdLGuADYiHetxOzX Hs2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5SlIcFIM68w880BR4Kxx0NdCPJqMQrugFoEKlxU3Dhc=; b=XIzk+pjfVvceSnQrptt3usmQni/1NZKkpmcSVtoyffsh13yDGsczq+dNAYniDMdunL A5wg1O31UYvyVNyi9Kuuo1j8R6HepQjmB+n7a6zGByqdF0XHU4Vq/50b2TnYF3mehnMJ iRe1yXJsbS1GmU4Dq3VeHtJnrYU1loAwx6lCpbmCrK3bUqtrSLC2o0eX1z20fjchwYa4 wkTsJwxCyXdmQRT8uMF0VuJl9pesktBYw7pFwOVZYefb9VBUQkcRKwvMfTBzRIC77h6N pHzH8tJHXy/WxlKbKZcCqNZ218FYIARnBKbNPZUtggI1Z1B00P+28sxMH2qNy4Hq/nks 5jFw== X-Gm-Message-State: AOAM532zAfwjNH5aoYnCXoUgWNXbK/168GjJzHNtR7wfDE8PMDOW5fOt QdJTp8s7tErHkohJkYq78jHxI8OTn8aDJQ== X-Google-Smtp-Source: ABdhPJxAE3iWxQpRcRHTQS/zAvSU1TRgQ7n/tgoN3QuHL2SupodGV7fHE4+n5evB6TNFB8IgtlhK1w== X-Received: by 2002:a17:90b:110a:: with SMTP id gi10mr9512384pjb.206.1599246531582; Fri, 04 Sep 2020 12:08:51 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v3 05/19] target/microblaze: Rename DISAS_UPDATE to DISAS_EXIT Date: Fri, 4 Sep 2020 12:08:28 -0700 Message-Id: <20200904190842.2282109-6-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200904190842.2282109-1-richard.henderson@linaro.org> References: <20200904190842.2282109-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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::1042; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1042.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: edgar.iglesias@xilinx.com, f4bug@amsat.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) The name "update" suggests that something needs updating, but this is not the case. Use "exit" to emphasize that nothing needs doing except to exit. Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Edgar E. Iglesias Tested-by: Edgar E. Iglesias Signed-off-by: Richard Henderson --- target/microblaze/translate.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c index a8a3249185..8ceb04f4f0 100644 --- a/target/microblaze/translate.c +++ b/target/microblaze/translate.c @@ -37,7 +37,7 @@ =20 /* is_jmp field values */ #define DISAS_JUMP DISAS_TARGET_0 /* only pc was modified dynamically */ -#define DISAS_UPDATE DISAS_TARGET_1 /* cpu state was modified dynamically= */ +#define DISAS_EXIT DISAS_TARGET_1 /* all cpu state modified dynamically= */ =20 static TCGv_i32 cpu_R[32]; static TCGv_i32 cpu_pc; @@ -1161,7 +1161,7 @@ static bool trans_brk(DisasContext *dc, arg_typea_br = *arg) tcg_gen_ori_i32(cpu_msr, cpu_msr, MSR_BIP); tcg_gen_movi_tl(cpu_res_addr, -1); =20 - dc->base.is_jmp =3D DISAS_UPDATE; + dc->base.is_jmp =3D DISAS_EXIT; return true; } =20 @@ -1202,7 +1202,7 @@ static bool trans_brki(DisasContext *dc, arg_typeb_br= *arg) ~(MSR_VMS | MSR_UMS | MSR_VM | MSR_UM)); } tcg_gen_ori_i32(cpu_msr, cpu_msr, msr_to_set); - dc->base.is_jmp =3D DISAS_UPDATE; + dc->base.is_jmp =3D DISAS_EXIT; #endif =20 return true; @@ -1712,7 +1712,7 @@ static void mb_tr_translate_insn(DisasContextBase *dc= b, CPUState *cs) =20 /* Force an exit if the per-tb cpu state has changed. */ if (dc->base.is_jmp =3D=3D DISAS_NEXT && dc->cpustate_changed) { - dc->base.is_jmp =3D DISAS_UPDATE; + dc->base.is_jmp =3D DISAS_EXIT; tcg_gen_movi_i32(cpu_pc, dc->base.pc_next); } } @@ -1733,7 +1733,7 @@ static void mb_tr_tb_stop(DisasContextBase *dcb, CPUS= tate *cs) gen_goto_tb(dc, 0, dc->base.pc_next); return; =20 - case DISAS_UPDATE: + case DISAS_EXIT: if (unlikely(cs->singlestep_enabled)) { gen_raise_exception(dc, EXCP_DEBUG); } else { --=20 2.25.1